UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

6 lines (5 loc) 402 B
import { IntlShape } from 'react-intl-next'; import type { Command } from '../types'; import type { ButtonOptionProps } from './LinkToolbarButtonGroup'; import type { OptionConfig } from './types'; export declare const getButtonGroupOption: (intl: IntlShape, dispatchCommand: (command: Command) => void, { disabled, onClick, selected, appearance, testId, tooltip }: OptionConfig) => ButtonOptionProps;