Skip to content

Commit 27a8760

Browse files
committed
Update README.md
1 parent 729953e commit 27a8760

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
# react-native-keyboard-aware-scroll-view
2-
A ScrollView component that handles keyboard appearance
2+
A ScrollView component that handles keyboard appearance.
3+
4+
## Usage
5+
Import ``react-native-keyboard-aware-scroll-view`` and wrap your content inside it:
6+
7+
```jsx
8+
<KeyboardAwareScrollView>
9+
<View>
10+
<Text>Hello world!</Text>
11+
</View>
12+
</KeyboardAwareScrollView>
13+
```
14+
15+
The component accepts three props, ``style``, ``children`` (the children node to render inside) and the experimental prop ``viewIsInsideTabBar``, which tries to solve resizing issues when rendering inside a ``TabBar`` component.
16+
17+
## License
18+
19+
MIT.

0 commit comments

Comments
 (0)