Skip to content

Commit

Permalink
docs: updated snapPoints description example (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyplouis committed Jan 7, 2021
1 parent 88a1538 commit 9a8a006
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/bottomSheet/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export type BottomSheetProps = {
* @type Array<string | number>
* @example
* snapPoints={[200, 500]}
* snapPoints={[200, '%50']}
* snapPoints={[-1, '%100']}
* snapPoints={[200, '50%']}
* snapPoints={[-1, '100%']}
*/
snapPoints: Array<string | number>;
/**
Expand Down
4 changes: 2 additions & 2 deletions website/docs/props.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Points for the bottom sheet to snap to, **points should be sorted from bottom to

```ts
snapPoints={[200, 500]}
snapPoints={[200, '%50']}
snapPoints={[-1, '%100']}
snapPoints={[200, '50%']}
snapPoints={[-1, '100%']}
```

### `handleHeight`
Expand Down

0 comments on commit 9a8a006

Please sign in to comment.