File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Examples/DemosApp/DemosApp
ComponentsPreview/PreviewPages Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,14 @@ struct TextInputPreviewPreview: View {
4242 BodyFontPicker ( selection: self . $model. font)
4343 KeyboardTypePicker ( selection: self . $model. keyboardType)
4444 Picker ( " Max Rows " , selection: self . $model. maxRows) {
45- Text ( " 2 Rows " ) . tag ( 2 )
4645 Text ( " 3 Rows " ) . tag ( 3 )
46+ Text ( " 4 Rows " ) . tag ( 4 )
4747 Text ( " No Limit " ) . tag ( Optional< Int> . none)
4848 }
4949 Picker ( " Min Rows " , selection: self . $model. minRows) {
5050 Text ( " 1 Row " ) . tag ( 1 )
5151 Text ( " 2 Rows " ) . tag ( 2 )
52+ Text ( " 3 Rows " ) . tag ( 3 )
5253 }
5354 Toggle ( " Placeholder " , isOn: . init(
5455 get: {
@@ -81,7 +82,7 @@ struct TextInputPreviewPreview: View {
8182 private static var initialModel : TextInputVM {
8283 return . init {
8384 $0. placeholder = " Placeholder "
84- $0. minRows = 1
85+ $0. minRows = 2
8586 $0. maxRows = nil
8687 }
8788 }
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ struct App: View {
4141 NavigationLinkWithTitle ( " Segmented Control " ) {
4242 SegmentedControlPreview ( )
4343 }
44- NavigationLinkWithTitle ( " Text Field " ) {
44+ NavigationLinkWithTitle ( " Text Input " ) {
4545 TextInputPreviewPreview ( )
4646 }
4747 }
You can’t perform that action at this time.
0 commit comments