@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
17 lines (16 loc) • 572 B
TypeScript
import { jsx } from '@emotion/react';
import type { NewCoreIconProps } from '@atlaskit/icon/types';
export interface ButtonOptionProps {
areAnyNewToolbarFlagsEnabled: boolean;
disabled: boolean;
icon: (props: NewCoreIconProps) => JSX.Element;
onClick: () => void;
selected: boolean;
testId: string;
title: string;
tooltipContent?: string | null;
}
export interface LinkToolbarButtonGroupProps {
options: ButtonOptionProps[];
}
export declare const LinkToolbarButtonGroup: ({ options, }: LinkToolbarButtonGroupProps) => jsx.JSX.Element;