Skip to content

Commit 59d5e76

Browse files
authored
Merge pull request #11 from sammy6378/fix-scrollViw-typo
Fix scroll view typo
2 parents 40e25c0 + 8b91cd0 commit 59d5e76

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/react-native/components.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,17 @@ import { Image } from 'react-native';
210210
/>
211211
```
212212
213-
### ScrowView
213+
### ScrollView
214214
215215
- horizontal: Enables horizontal scrolling.
216216
- showsVerticalScrollIndicator: Show/hide scroll bar.
217217
- onScroll: Scroll event handler.
218218
219219
```jsx
220-
<ScrollView horizontal showsVerticalScrollIndicator={false}>
220+
<ScrollView
221+
horizontal
222+
showsVerticalScrollIndicator={false}
223+
>
221224
<Text>Scrollable content</Text>
222225
</ScrollView>
223226
```
@@ -235,6 +238,7 @@ const styles = StyleSheet.create({
235238
backgroundColor: 'white',
236239
},
237240
```
241+
238242
## Lists Views
239243
240244
### FlatList

0 commit comments

Comments
 (0)