@@ -94,31 +94,31 @@ private val autocapitalizationTypes = listOf(
94
94
private val IosImeOptionsKeyboardTypeExample = Screen .Example (" Keyboard Type" ) {
95
95
LazyColumn {
96
96
items(keyboardTypes) {
97
- Item (it.first, PlatformImeOptions (keyboardType = it.second))
97
+ Item (it.first, PlatformImeOptions { keyboardType( it.second) } )
98
98
}
99
99
}
100
100
}
101
101
102
102
private val IosImeOptionsKeyboardAppearanceExample = Screen .Example (" Keyboard Appearance" ) {
103
103
LazyColumn {
104
104
items(keyboardAppearances) {
105
- Item (it.first, PlatformImeOptions (keyboardAppearance = it.second))
105
+ Item (it.first, PlatformImeOptions { keyboardAppearance( it.second) } )
106
106
}
107
107
}
108
108
}
109
109
110
110
private val IosImeOptionsReturnKeyTypeExample = Screen .Example (" Return Key Type" ) {
111
111
LazyColumn {
112
112
items(returnKeyTypes) {
113
- Item (it.first, PlatformImeOptions (returnKeyType = it.second))
113
+ Item (it.first, PlatformImeOptions { returnKeyType( it.second) } )
114
114
}
115
115
}
116
116
}
117
117
118
118
private val IosImeOptionsIsSecureTextEntryExample = Screen .Example (" Is Secure Text Entry" ) {
119
119
LazyColumn {
120
- item { Item (" Is Secure" , PlatformImeOptions (isSecureTextEntry = true )) }
121
- item { Item (" Is Not Secure" , PlatformImeOptions (isSecureTextEntry = false )) }
120
+ item { Item (" Is Secure" , PlatformImeOptions { isSecureTextEntry( true ) } ) }
121
+ item { Item (" Is Not Secure" , PlatformImeOptions { isSecureTextEntry( false ) } ) }
122
122
}
123
123
}
124
124
@@ -127,13 +127,13 @@ private val IosImeOptionsEnablesReturnKeyTypeAutomaticallyExample = Screen.Examp
127
127
item {
128
128
Item (
129
129
" Enables Return Key Type Automatically" ,
130
- PlatformImeOptions (enablesReturnKeyAutomatically = true )
130
+ PlatformImeOptions { enablesReturnKeyAutomatically( true ) }
131
131
)
132
132
}
133
133
item {
134
134
Item (
135
135
" Doesn't Enable Return Key Type Automatically" ,
136
- PlatformImeOptions (enablesReturnKeyAutomatically = false )
136
+ PlatformImeOptions { enablesReturnKeyAutomatically( false ) }
137
137
)
138
138
}
139
139
}
@@ -142,15 +142,15 @@ private val IosImeOptionsEnablesReturnKeyTypeAutomaticallyExample = Screen.Examp
142
142
private val IosImeOptionsAutocapitalizationTypeExample = Screen .Example (" Autocapitalization Type" ) {
143
143
LazyColumn {
144
144
items(autocapitalizationTypes) {
145
- Item (it.first, PlatformImeOptions (autocapitalizationType = it.second))
145
+ Item (it.first, PlatformImeOptions { autocapitalizationType( it.second) } )
146
146
}
147
147
}
148
148
}
149
149
150
150
private val IosImeOptionsAutocorrectionTypeExample = Screen .Example (" Autocapitalization Type" ) {
151
151
LazyColumn {
152
152
items(autocorrectionTypes) {
153
- Item (it.first, PlatformImeOptions (autocorrectionType = it.second))
153
+ Item (it.first, PlatformImeOptions { autocorrectionType( it.second) } )
154
154
}
155
155
}
156
156
}
0 commit comments