Skip to content

Commit

Permalink
Change default prop closeOnSwipeDown to false
Browse files Browse the repository at this point in the history
  • Loading branch information
nysamnang committed Feb 25, 2019
1 parent d485e63 commit b1a32d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Smooth Animation
- Add Your own Component To Bottom Sheet
- Customize Whatever You Like
- Support Gesture Swipe Down
- Support Swipe Down Gesture
- Support All Orientations
- Support Both Android And iOS

Expand Down Expand Up @@ -77,7 +77,7 @@ export default Example;
| height | number | Height of Bottom Sheet | 260 |
| minClosingHeight | number | Minimum height of Bottom Sheet before close | 0 |
| duration | number | Duration of Bottom Sheet animation | 300 (ms) |
| closeOnSwipeDown | boolean | Use gesture swipe down to close Bottom Sheet | true |
| closeOnSwipeDown | boolean | Use gesture swipe down to close Bottom Sheet | false |
| closeOnPressMask | boolean | Press the area outside to close Bottom Sheet | true |
| onClose | function | Callback function when Bottom Sheet has closed | |
| customStyles | object | Custom style to Bottom Sheet | {} |
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RBSheet.defaultProps = {
height: 260,
minClosingHeight: 0,
duration: 300,
closeOnSwipeDown: true,
closeOnSwipeDown: false,
closeOnPressMask: true,
customStyles: {}
};
Expand Down

0 comments on commit b1a32d9

Please sign in to comment.