UNPKG

@atlaskit/mention

Version:

A React component used to display user profiles in a list for 'Mention' functionality

17 lines 597 B
export const SMART_EVENT_TYPE = 'smart'; export let Actions = /*#__PURE__*/function (Actions) { Actions["REQUESTED"] = "requested"; Actions["SUCCESSFUL"] = "successful"; Actions["SEARCHED"] = "searched"; Actions["FAILED"] = "failed"; Actions["SELECTED"] = "selected"; return Actions; }({}); export const defaultAttributes = context => { return { context: (context === null || context === void 0 ? void 0 : context.objectId) || '', sessionId: (context === null || context === void 0 ? void 0 : context.sessionId) || '', pickerType: 'mentions', source: 'smarts' }; };