UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

11 lines (10 loc) 504 B
import * as React from 'react'; 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'>; } export declare const ExpandableToolbar: React.FC<ExpandableToolbarProps>;