Panel
Composable non-modal panel with fixed header/footer and an internal scroll area. Use inside PanelGroup for resizing. Only the outer group casts a shadow.
Использование
Title
Содержимое панели
position
Title
Содержимое
Title
Содержимое
Title
Содержимое
API
| Проп | Тип | По умолчанию | Описание |
|---|---|---|---|
id | string | — | Stable ID is recommended within a PanelGroup, especially for dynamic panels. |
position | "left" | "right" | "bottom" | left | Edge of a standalone panel. Group orientation controls resizing independently. |
start | ReactNode | — | — |
end | ReactNode | — | — |
minSize | number | 10 | Minimum expanded share of the parent group in percent. |
maxSize | number | 100 | Maximum share in percent. |
collapsible | boolean | | Allow collapsing to zero; Enter on the following separator restores the last size. |
onClose | () => void | — | Notification; removal is owned by the application. Close collapses a collapsible panel in a group. |
Last updated on