@atlaskit/editor-plugin-avatar-group
Version:
Avatar Group plugin for @atlaskit/editor-core.
25 lines (24 loc) • 1.05 kB
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import type { ReactNode } from 'react';
import React from 'react';
import { jsx } from '@emotion/react';
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics/api';
import type { FeatureFlags } from '@atlaskit/editor-common/types/feature-flags';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
import type { ReadOnlyParticipants } from '@atlaskit/editor-plugin-collab-edit/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { AvatarGroupPlugin } from '../avatarGroupPluginType';
interface AvatarsProps {
children: ReactNode;
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
editorView?: EditorView;
featureFlags: FeatureFlags;
participants: ReadOnlyParticipants | undefined;
sessionId?: string;
}
export declare const Avatars: React.MemoExoticComponent<(props: AvatarsProps) => jsx.JSX.Element | null>;
export {};