Skip to content

Commit db7a400

Browse files
committed
Increment the version and add missing prop to documentation
1 parent ef9db41 commit db7a400

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ render () {
5656

5757
# Available props
5858

59-
| Name | Type | Default | Description |
60-
| ---------------------- | ------- | ----------------- | -------------------------------------------------------------------------- |
61-
| visible | boolean | false | Controls the panel's visibility |
62-
| animationDuration | number | 500 | Controls the duration in ms to show or hide the panel |
63-
| expandable | boolean | false | Controls if the panel can be expanded or not |
64-
| hideOnPressOutside | boolean | true | Controls neither to hide the panel when user presses on the overlay or not |
65-
| overlayBackgroundColor | Color | black | Controls the backgroundColor of the overlay |
66-
| overlayOpacity | number | 0.8 | Is a value between 0 and 1 that controls the overlay opacity |
67-
| borderRadius | number | 0 | Controls the panel top border radius |
68-
| height | number | SCREEN_HEIGHT / 2 | Controls the panel initial height |
59+
| Name | Type | Default | Description |
60+
| ---------------------- | -------- | ----------------- | -------------------------------------------------------------------------- |
61+
| visible | boolean | false | Controls the panel's visibility |
62+
| animationDuration | number | 500 | Controls the duration in ms to show or hide the panel |
63+
| expandable | boolean | false | Controls if the panel can be expanded or not |
64+
| hideOnPressOutside | boolean | true | Controls neither to hide the panel when user presses on the overlay or not |
65+
| overlayBackgroundColor | Color | black | Controls the backgroundColor of the overlay |
66+
| overlayOpacity | number | 0.8 | Is a value between 0 and 1 that controls the overlay opacity |
67+
| borderRadius | number | 0 | Controls the panel top border radius |
68+
| height | number | SCREEN_HEIGHT / 2 | Controls the panel initial height |
69+
| onDismiss | callback | | A callback function when the panel is dismissed |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-draggable-panel",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A react native draggable panel for Android and iOS",
55
"author": "Naoufal ELYOUSSOUFI <[email protected]> (https://github.com/nelyousfi)",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)