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
|`id`|`string`||`uniqueId()`| An unique id for the panel header, which will also be used to generate a prefixed id for the panel content section.
<br/>
Read about `getPanelContentId` below for more about this. |
67
-
|`header`|`node`| ✅ || The title being rendered at top left of the panel |
68
-
|`secondaryHeader`|`node`||| A secondary header for the panel (only pass if needed) |
69
-
|`description`|`string`||| If passed will be shown below the title as more information regarding the panel |
70
-
|`className`|`string`||||
71
-
|`isSticky`|`bool`||| Makes the panel's header sticky in regards to the page's scroll |
72
-
|`headerControls`|`node`||| Controls at the top right part of the panel |
73
-
|`isDisabled`|`bool`||`false`| Disables the panel and all interactions with it |
74
-
|`children`|`node`||| The actual content rendered inside the panel |
|`theme`|`enum`<br/>Possible values:<br/>`'dark', 'light'`||`'dark'`| The main color combination of the for the panel header and container |
77
-
|`condensed`|`bool`||`false`| Whenever `true` the headers and content itself
will consume less space in that to the borders are smaller and everything has less padding |
78
-
|`hideExpansionControls`|`bool`||| Controls the visibility of the expansion controls on the left |
|`isDefaultClosed`|`custom`||| Indicates if the panel's content should be collapsed or shown by default.
<br />
Updates to this value are not respected. Only used for **uncontrolled** mode (when no`onToggle` is passed.) |
81
-
|`isClosed`|`bool`||| Indicates if the panel's content should be collapsed or shown.
<br />
Component becomes \*_controlled_ when this is passed. |
82
-
|`onToggle`|`custom`||| function to be triggered whenever the user clicks the top area to collapse the panel's content
<br />
Becomes required when `isClosed` is passed.
<br />
Signature: `() => void`|
|`id`|`string`||`uniqueId()`| An unique id for the panel header, which will also be used to generate a prefixed id for the panel content section.
<br/>
Read about `getPanelContentId` below for more about this. |
67
+
|`header`|`ReactNode`| ✅ || The title being rendered at top left of the panel |
68
+
|`secondaryHeader`|`ReactNode`||| A secondary header for the panel (only pass if needed) |
69
+
|`description`|`string`||| If passed will be shown below the title as more information regarding the panel |
70
+
|`className`|`string`||||
71
+
|`isSticky`|`boolean`||| Makes the panel's header sticky in regards to the page's scroll |
72
+
|`headerControls`|`ReactNode`||| Controls at the top right part of the panel |
73
+
|`isDisabled`|`boolean`||`false`| Disables the panel and all interactions with it |
74
+
|`children`|`ReactNode`||| The actual content rendered inside the panel |
|`theme`|`union`<br/>Possible values:<br/>`'dark' , 'light'`||`'dark'`| The main color combination of the for the panel header and container |
77
+
|`condensed`|`boolean`||`false`| Whenever `true` the headers and content itself
will consume less space in that to the borders are smaller and everything has less padding |
78
+
|`hideExpansionControls`|`boolean`||| Controls the visibility of the expansion controls on the left |
|`isDefaultClosed`|`boolean`||| Indicates if the panel's content should be collapsed or shown by default.
<br />
Updates to this value are not respected. Only used for **uncontrolled** mode (when no`onToggle` is passed.) |
81
+
|`isClosed`|`boolean`||| Indicates if the panel's content should be collapsed or shown.
<br />
Component becomes \*_controlled_ when this is passed. |
82
+
|`onToggle`|`Function`<br/>[See signature.](#signature-onToggle)||| function to be triggered whenever the user clicks the top area to collapse the panel's content
<br />
Becomes required when `isClosed` is passed.
<br />
Signature: `() => void`|
0 commit comments