Skip to main content
Version: Next

PanelGroup API

import { PanelGroup } from '@editora/ui-react';

Props​

PropTypeDescription
autoSaveboolean
onLayoutChange(detail: LayoutChangeDetail) => void
onResize(detail: ResizeDetail) => void
onResizeEnd(detail: ResizeDetail) => void
onResizeStart(detail: ResizeDetail) => void
orientation'horizontal' | 'vertical'
storageKeystring

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