@atlaskit/editor-plugin-find-replace
Version:
find replace plugin for @atlaskit/editor-core
18 lines (17 loc) • 766 B
TypeScript
import React from 'react';
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
import type { FindReplaceProps } from './FindReplace';
export interface FindReplaceDropdownProps extends Omit<FindReplaceProps, 'count'> {
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
index: number;
isActive: boolean;
isReplaceable?: boolean;
numMatches: number;
numReplaceable?: number;
popupsMountPoint?: HTMLElement;
}
declare const _default_1: React.FC<WithIntlProps<FindReplaceDropdownProps & WrappedComponentProps>> & {
WrappedComponent: React.ComponentType<FindReplaceDropdownProps & WrappedComponentProps>;
};
export default _default_1;