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