PanelGroup API
import { PanelGroup } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
autoSave | boolean | |
onLayoutChange | (detail: LayoutChangeDetail) => void | |
onResize | (detail: ResizeDetail) => void | |
onResizeEnd | (detail: ResizeDetail) => void | |
onResizeStart | (detail: ResizeDetail) => void | |
orientation | 'horizontal' | 'vertical' | |
storageKey | string |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-panel-group>
PanelGroup renders the ui-panel-group custom element from @editora/ui-core, which can also be used without React.
Attributes: auto-save, orientation, storage-key
Events: layout-change, resize, resize-end, resize-start