File tree 1 file changed +21
-0
lines changed
packages/rn-tester/js/examples/TextInput
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -681,6 +681,27 @@ const textInputExamples: Array<RNTesterModuleExample> = [
681
681
placeholder = "Placeholder defines intrinsic size"
682
682
/>
683
683
</ View >
684
+ < RNTesterText > Singleline TextInput with text styles</ RNTesterText >
685
+ < View style = { { height : 130 } } >
686
+ < ExampleTextInput
687
+ style = { {
688
+ position : 'absolute' ,
689
+ fontSize : 16 ,
690
+ backgroundColor : '#eeeeee' ,
691
+ borderColor : '#666666' ,
692
+ borderWidth : 5 ,
693
+ borderTopWidth : 20 ,
694
+ borderRadius : 10 ,
695
+ borderBottomRightRadius : 20 ,
696
+ padding : 10 ,
697
+ paddingTop : 20 ,
698
+ lineHeight : 18 ,
699
+ height : '100%' ,
700
+ } }
701
+ testID = "singleline_textinput_with_text_styling"
702
+ placeholder = "Placeholder defines intrinsic size & text styling"
703
+ />
704
+ </ View >
684
705
< RNTesterText > Multiline TextInput</ RNTesterText >
685
706
< View style = { { height : 80 } } >
686
707
< ExampleTextInput
You can’t perform that action at this time.
0 commit comments