Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow control panning gestures #88

Merged
merged 3 commits into from
Nov 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: updated readme
  • Loading branch information
gorhom committed Nov 27, 2020
commit e189672735afaca00bf7cdb9eed57ec30c3c1e60
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ npm install @gorhom/bottom-sheet

> ⚠️ You need to install [react-native-reanimated](/~https://github.com/software-mansion/react-native-reanimated) & [react-native-gesture-handler](/~https://github.com/software-mansion/react-native-gesture-handler) and follow their installation instructions.


### Version v2 ( Alpha )

[Link to version 2 branch](/~https://github.com/gorhom/react-native-bottom-sheet/tree/feature/rewrite-in-reanimated-v2)

this version is written with `Reanimated v2`, although this version is still in alpha phase, yet it provides all version 1 functionalities with the huge performance boost, thanks to `Reanimated v2` ❤️


```sh
yarn add @gorhom/bottom-sheet@2.0.0-alpha.0
# or
Expand Down Expand Up @@ -143,9 +141,15 @@ Top inset value helps to calculate percentage snap points values. usually comes

> `required:` NO | `type:` number | `default:` 0

#### `enabled`
#### `enableContentPanningGesture`

Enable content panning gesture interaction.

> `required:` NO | `type:` boolean | `default:` true

#### `enableHandlePanningGesture`

To enable or disable user interaction with the sheet.
Enable handle panning gesture interaction.

> `required:` NO | `type:` boolean | `default:` true

Expand Down