PluginPanel API
import { PluginPanel } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
description | string | |
dismissible | boolean | |
headless | boolean | |
onClose | () => void | |
onOpen | () => void | |
onOpenChange | (detail: PluginPanelOpenChangeDetail) => void | |
open | boolean | |
position | 'right' | 'left' | 'bottom' | |
size | 'sm' | 'md' | 'lg' | |
title | string |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-plugin-panel>
PluginPanel renders the ui-plugin-panel custom element from @editora/ui-core, which can also be used without React.
Attributes: description, dismissible, headless, open, position, size, title
Events: open-change