Skip to content

Commit 00d999e

Browse files
authored
Update README.md
1 parent e4ac19a commit 00d999e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A ScrollView component that handles keyboard appearance and automatically scroll
1313
</p>
1414

1515
## Supported versions
16-
- `v0.3.0` requires `RN>=0.48`
16+
- `v0.4.0` requires `RN>=0.48`
1717
- `v0.2.0` requires `RN>=0.32.0`.
1818
- `v0.1.2` requires `RN>=0.27.2` but you should use `0.2.0` in order to make it work with multiple scroll views.
1919
- `v0.0.7` requires `react-native>=0.25.0`.
@@ -85,7 +85,7 @@ this.scroll.props.scrollToPosition(0, 0)
8585
## Register to keyboard events
8686
You can register to `ScrollViewResponder` events `onKeyboardWillShow` and `onKeyboardWillHide`:
8787

88-
```js
88+
```jsx
8989
<KeyboardAwareScrollView
9090
onKeyboardWillShow={(frames: Object) => {
9191
console.log('Keyboard event', frames)

0 commit comments

Comments
 (0)