From 0186834aa5b3796f1f1f22edfebbc9fc6d20b96c Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Mon, 22 Jan 2024 14:47:31 +0100 Subject: [PATCH] feat(Actions): Add `others` --- react/ActionsMenu/Actions/index.js | 1 + react/ActionsMenu/Actions/others.jsx | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 react/ActionsMenu/Actions/others.jsx diff --git a/react/ActionsMenu/Actions/index.js b/react/ActionsMenu/Actions/index.js index f592ff2eef..8805843582 100644 --- a/react/ActionsMenu/Actions/index.js +++ b/react/ActionsMenu/Actions/index.js @@ -6,3 +6,4 @@ export { call } from './call' export { emailTo } from './emailTo' export { print } from './print' export { viewInContacts } from './viewInContacts' +export { others } from './others' diff --git a/react/ActionsMenu/Actions/others.jsx b/react/ActionsMenu/Actions/others.jsx new file mode 100644 index 0000000000..2dbc2dd033 --- /dev/null +++ b/react/ActionsMenu/Actions/others.jsx @@ -0,0 +1,13 @@ +import DotsIcon from '../../Icons/Dots' + +import { getActionsI18n } from './locales/withActionsLocales' + +export const others = () => { + const { t } = getActionsI18n() + + return { + name: 'others', + label: t('others'), + icon: DotsIcon + } +}