created:4/29/2021
updated:4/29/2021
loc
129
comments
14%
passed
6
coverage
39%
PanelContainer
Action container with built-in collapsible panels
Name | Description | Default |
|---|---|---|
| openTab | by default, which tab to have open. ReactNode | - |
| visibleTabs | if true, the tabs on the panels will be visible boolean | false |
| background | background pattern type darklight | - |
| direction | direction type ltrrtl | - |
| actions | optional actions provided to the component ActionItem[] | [] |
| plain | if plain, skip the border and spacing around the children boolean | - |
11 commits
file | imports |
|---|---|
| "../Collapsible" | |
| "../Tabs" | |
| "../ActionBar" | getSortedPanelsActionItemsActionItem |
| "../ActionContainer" | ActionContainerActionContainerProps |
| "../ThemeContext" | useTheme |
<Button
style
/>theme-ui
^0.8.4<ActionContainer
plainactions
>ActionContainer
from"../ActionContainer"
<div
style
/>div
<Collapsible
isOpen
>Collapsible
from"../Collapsible"
<Tabs
selectedIndexonSelect
/>Tabs
from"../Tabs"