UNPKG

@atlaskit/editor-plugin-loom

Version:

Loom plugin for @atlaskit/editor-core

22 lines (21 loc) • 1.05 kB
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import type { WithIntlProps, WrappedComponentProps } from 'react-intl'; import type { EditorAppearance } from '@atlaskit/editor-common/types/editor-appearance'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; 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;