Skip to content

Commit

Permalink
docs: added bottomInset description
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Feb 9, 2021
1 parent ed8b86b commit 913ed68
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website/docs/props.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@ Container height helps to calculate the internal sheet layouts. If `containerHei

### `topInset`

Top inset value helps to calculate percentage snap points values. usually comes from `@react-navigation/stack` hook `useHeaderHeight` or from `react-native-safe-area-context` hook `useSafeArea`.
Top inset to be added to the bottom sheet container, usually it comes from `@react-navigation/stack` hook `useHeaderHeight` or from `react-native-safe-area-context` hook `useSafeArea`.

| type | default | required |
| ------ | ------- | -------- |
| number | 0 | NO |

### `bottomInset`

Bottom inset to be added to the bottom sheet container.

| type | default | required |
| ------ | ------- | -------- |
Expand Down

0 comments on commit 913ed68

Please sign in to comment.