UNPKG

nice-ui

Version:

React design system, components, and utilities

15 lines (14 loc) 643 B
import * as React from 'react'; import { type ContextMenuProps } from '../../ContextMenu'; import type { ToolbarMenuProps } from './types'; import type { AnchorPoint } from '../../../utils/popup'; import type { MenuItem } from '../../StructuralMenu/types'; export type InlineMenuView = 'toolbar' | 'context'; export interface ExpandableToolbarProps extends ToolbarMenuProps { expandPoint?: AnchorPoint | (() => AnchorPoint); disabled?: boolean; more?: Omit<ToolbarMenuProps['more'], 'onClick'>; context?: ContextMenuProps; contextMenu?: MenuItem; } export declare const ExpandableToolbar: React.FC<ExpandableToolbarProps>;