UNPKG

cozy-search

Version:

UI components about search bar and IA assistant

27 lines (21 loc) 777 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.share = void 0; var _twakeIcons = require("@linagora/twake-icons"); var _makeActionComponent = _interopRequireDefault(require("./makeActionComponent")); var share = function share(_ref) { var t = _ref.t; var label = t('assistant.sidebar.conversation.actions.share'); return { name: 'share', icon: _twakeIcons.Share, label: label, Component: (0, _makeActionComponent.default)(label, _twakeIcons.Share), action: function action() {// TO DO: Add action to share due to this action does not exist yet in backend, we will implement it later } }; }; exports.share = share;