@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
5 lines (4 loc) • 370 B
TypeScript
import type { IntlShape } from 'react-intl';
import type { Command, DropdownOptionT } from '../types';
import type { OptionConfig } from './types';
export declare const getDropdownOption: (intl: IntlShape, dispatchCommand: (command: Command) => void, { disabled, onClick, selected, appearance, testId, tooltip, description }: OptionConfig) => DropdownOptionT<Function>;