@atlaskit/mention
Version:
A React component used to display user profiles in a list for 'Mention' functionality
18 lines (17 loc) • 529 B
TypeScript
import { type MentionContextIdentifier } from '../types';
export declare const SMART_EVENT_TYPE = "smart";
export declare enum Actions {
REQUESTED = "requested",
SUCCESSFUL = "successful",
SEARCHED = "searched",
FAILED = "failed",
SELECTED = "selected"
}
export type DefaultAttributes = {
[key: string]: any;
context: string;
pickerType: 'mentions';
sessionId: string;
source: 'smarts';
};
export declare const defaultAttributes: (context?: MentionContextIdentifier) => DefaultAttributes;