UNPKG

@atlaskit/editor-plugin-find-replace

Version:

find replace plugin for @atlaskit/editor-core

27 lines (26 loc) 994 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import type { WithIntlProps, WrappedComponentProps } from 'react-intl'; import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics'; import type { FindReplaceProps } from './FindReplace'; export interface FindReplaceToolbarButtonProps extends Omit<FindReplaceProps, 'count'> { dispatchAnalyticsEvent?: DispatchAnalyticsEvent; index: number; isActive: boolean; isButtonHidden?: boolean; isReducedSpacing?: boolean; numMatches: number; numReplaceable?: number; onActivate: () => void; popupsBoundariesElement?: HTMLElement; popupsMountPoint?: HTMLElement; popupsScrollableElement?: HTMLElement; takeFullWidth: boolean; } declare const _default_1: React.FC<WithIntlProps<FindReplaceToolbarButtonProps & WrappedComponentProps>> & { WrappedComponent: React.ComponentType<FindReplaceToolbarButtonProps & WrappedComponentProps>; }; export default _default_1;