@atlaskit/mention
Version:
A React component used to display user profiles in a list for 'Mention' functionality
17 lines • 618 B
JavaScript
export var SMART_EVENT_TYPE = 'smart';
export var Actions = /*#__PURE__*/function (Actions) {
Actions["REQUESTED"] = "requested";
Actions["SUCCESSFUL"] = "successful";
Actions["SEARCHED"] = "searched";
Actions["FAILED"] = "failed";
Actions["SELECTED"] = "selected";
return Actions;
}({});
export var defaultAttributes = function 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'
};
};