UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

11 lines (10 loc) 507 B
import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin'; import { IBasicUser } from '../../../models'; import { TranslateFuncType } from '../../../util/models'; export declare function getPossibleQueryMatch(text: string): MenuTextMatch | null; export interface IMentionPlugin { allowedMentionUsers?: ReadonlyArray<IBasicUser>; onShare?: () => void; t: TranslateFuncType; } export declare const MentionPlugin: (props: IMentionPlugin) => import("react/jsx-runtime").JSX.Element;