@atlaskit/editor-plugin-loom
Version:
Loom plugin for @atlaskit/editor-core
21 lines (20 loc) • 963 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React from 'react';
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { LoomPlugin } from '../loomPluginType';
import type { ButtonComponentProps } from '../types';
interface Props extends Omit<ButtonComponentProps, 'onClickBeforeInit'> {
api: ExtractInjectionAPI<LoomPlugin> | undefined;
appearance: EditorAppearance;
disabled: boolean;
hideTooltip?: boolean;
onClick: (event: React.MouseEvent<HTMLElement>) => void;
}
declare const _default_1: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>>, 'ref'> & React.RefAttributes<any>> & {
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>;
};
export default _default_1;