Add support for defining the text entry type on CompoundTextFieldStyle. (#5757)

* Add support for defining the text entry type on CompoundTextFieldStyle.

* Use Xcode 26.5 when running Compound tests too.
This commit is contained in:
Doug
2026-06-18 19:18:44 +01:00
committed by GitHub
parent a520d94760
commit b38c216185
5 changed files with 110 additions and 31 deletions
@@ -20,7 +20,7 @@ struct PreviewTests {
private let deviceConfig: ViewImageConfig = .iPhoneX
private let simulatorDevice: String? = "iPhone14,6" // iPhone SE 3rd Generation
private let requiredOSVersion = (major: 26, minor: 4)
private let requiredOSVersion = (major: 26, minor: 5)
/// The key is the name we will give to the snapshot
/// The value is the actual device that will be used to render the preview
private let snapshotDevices: [SnapshotDevice] = [.init(name: "iPhone", device: "iPhone 17"),