Skip to content

Commit 9deb7c9

Browse files
committed
Add documentation for onInsetsChange
1 parent 1e1065c commit 9deb7c9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/safeareaview.md

+18
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,21 @@ Simply wrap your top level view with a `SafeAreaView` with a `flex: 1` style app
2222
### Props
2323

2424
* [View props...](view.md#props)
25+
26+
- [`onInsetsChange`](safeareaview.md#oninsetschange)
27+
28+
---
29+
30+
# Reference
31+
32+
## Props
33+
34+
### `onInsetsChange`
35+
36+
Invoked when safe area view insets change with:
37+
38+
`{nativeEvent: {insets: {left, top, right, bottom}}}`
39+
40+
| Type | Required |
41+
| -------- | -------- |
42+
| function | No |

0 commit comments

Comments
 (0)