QuickActions API
import { QuickActions } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
collapsible | boolean | |
floating | boolean | |
headless | boolean | |
label | string | |
mode | 'bar' | 'fab' | |
onOpenChange | (open: boolean) => void | |
onSelect | (detail: QuickActionSelectDetail) => void | |
onToggle | (open: boolean) => void | |
open | boolean | |
orientation | 'horizontal' | 'vertical' | |
placement | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | |
variant | 'default' | 'soft' | 'contrast' | 'minimal' |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
QuickActions.Action props
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-quick-actions>
QuickActions renders the ui-quick-actions custom element from @editora/ui-core, which can also be used without React.
Attributes: collapsible, floating, headless, label, mode, open, orientation, placement, variant
Events: change, select, toggle