You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`children`| Yes | The content to show inside the Bottom Sheet. | React Node | - |
95
+
|`height`| Yes | The height of the bottom sheet once opened. | number | - |
96
+
|`colorScheme`| No | Force the bottom sheet to be a specific colour scheme. 'auto' will use host OS colour scheme (eg light or dark) and automatically change when host OS scheme changes. | 'auto', 'light', 'dark' | 'auto' |
97
+
|`backdropClosesSheet`| No | Whether tapping/clicking on the backdrop behind the bottom sheet will close it. | true/false | true |
98
+
|`backdropBackgroundColor`| No | RGBA or Hex string value for the backdrop color. | RGBA/Hex string | '#25252599' |
99
+
|`sheetBackgroundColor`| No | RGBA or Hex string value for the background color of the bottom sheet. | RGBA/Hex string | Dark: '#222222', Light: '#F3F3F3' |
100
+
|`draggable`| No | Whether the bottom sheet is draggable. | true/false | true |
101
+
|`showDragIcon`| No | Whether to show the drag icon handle. Only displayed if `draggable` is set to true as well. | true/false | true |
102
+
|`dragIconColor`| No | RGBA or Hex string value for the color of the drag icon handle. | RGBA/Hex string | Dark: '#444444', Light: '#A3A3A3' |
103
+
|`dragIconStyle`| No | Inline JS style override for drag icon handle. | Style object | undefined |
104
+
|`contentContainerStyle`| No | Inline JS style override for content container style. | Style object | undefined |
105
+
|`borderRadius`| No | How rounded the corners of the sheet should be. | number | 10 |
106
+
|`openTime`| No | How long the opening animation should take. | number | 300 |
107
+
|`closeTime`| No | How long the closing animation should take. | number | 300 |
108
+
|`onOpenStart`| No | Called when the bottom sheet _begins_ to open. | Void function | undefined |
109
+
|`onOpenFinish`| No | Called when the bottom sheet _finishes_ opening. | Void function | undefined |
110
+
|`onCloseStart`| No | Called when the bottom sheet _begins_ to close. | Void function | undefined |
111
+
|`onCloseFinish`| No | Called when the bottom sheet _finishes_ closing. | Void function | undefined |
112
+
113
+
### Ref functions
114
+
115
+
Used by calling the functions on the ref, eg `bottomSheet.current?.show()`.
0 commit comments