UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

13 lines (12 loc) 608 B
import * as React from 'react'; import { type ContextMenuProps } from 'nice-ui/lib/4-card/ContextMenu'; import type { ToolbarMenuProps } from 'nice-ui/lib/4-card/Toolbar/ToolbarMenu/types'; import type { AnchorPoint } from 'nice-ui/lib/utils/popup'; export type InlineMenuView = 'toolbar' | 'context'; export interface ExpandableToolbarProps extends ToolbarMenuProps { expandPoint?: AnchorPoint | (() => AnchorPoint); disabled?: boolean; more?: Omit<ToolbarMenuProps['more'], 'onClick'>; context?: ContextMenuProps; } export declare const ExpandableToolbar: React.FC<ExpandableToolbarProps>;