UNPKG

@atlaskit/editor-plugin-avatar-group

Version:

Avatar Group plugin for @atlaskit/editor-core.

24 lines (23 loc) 959 B
/** * @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'; import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types'; import type { ReadOnlyParticipants } from '@atlaskit/editor-plugin-collab-edit'; 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 {};