Skip to content

Commit e84121f

Browse files
committed
update example
1 parent c23a177 commit e84121f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

example/App.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@ const App = () => {
7373
bounciness={8}
7474
gestureEnabled={true}
7575
onClose={_onClose}
76+
7677
defaultOverlayOpacity={0.3}>
7778
<ScrollView
78-
nestedScrollEnabled={nestedScrollEnabled}
79+
nestedScrollEnabled={true}
80+
scrollEnabled={nestedScrollEnabled}
7981
style={{
8082
width: '100%',
8183
padding: 12,
@@ -109,13 +111,14 @@ const App = () => {
109111
<TextInput
110112
style={{
111113
width: '100%',
112-
height: 50,
114+
minHeight: 50,
113115
borderRadius: 5,
114116
borderWidth: 1,
115117
borderColor: '#f0f0f0',
116118
marginBottom: 15,
117119
paddingHorizontal: 10,
118120
}}
121+
multiline={true}
119122
placeholder="Write your text here"></TextInput>
120123

121124
<View style={{}}>

0 commit comments

Comments
 (0)