@@ -56,13 +56,14 @@ render () {
56
56
57
57
# Available props
58
58
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 |
0 commit comments