File tree Expand file tree Collapse file tree
packages/rn-tester/js/examples/Playground Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,20 @@ import type {RNTesterModuleExample} from '../../types/RNTesterTypes';
1313
1414import RNTesterText from '../../components/RNTesterText' ;
1515import * as React from 'react' ;
16- import { StyleSheet , View } from 'react-native' ;
16+ import { StyleSheet , View , TextInput } from 'react-native' ;
1717
1818function Playground ( ) {
1919 return (
2020 < View style = { styles . container } >
2121 < RNTesterText >
2222 Edit "RNTesterPlayground.js" to change this file
2323 </ RNTesterText >
24+
25+ < TextInput
26+ style = { styles . input }
27+ placeholder = "test"
28+ disableKeyboardShortcuts
29+ />
2430 </ View >
2531 ) ;
2632}
@@ -29,6 +35,12 @@ const styles = StyleSheet.create({
2935 container : {
3036 padding : 10 ,
3137 } ,
38+ input : {
39+ width : '100%' ,
40+ height : 40 ,
41+ borderColor : 'gray' ,
42+ borderWidth : 1 ,
43+ } ,
3244} ) ;
3345
3446export default ( {
You can’t perform that action at this time.
0 commit comments