From 8776f1c2fced9cc75af92fb74960510b4e56833a Mon Sep 17 00:00:00 2001 From: Anastasiia Stavitskaya Date: Thu, 21 Nov 2024 10:16:13 -0800 Subject: [PATCH] feat: add abSplit icon (#499) --- src/assets/svg/mp_info_lt_ab-split.svg | 3 +++ src/components/icons/index.ts | 2 ++ src/constants/Icons.ts | 5 +++++ src/types/icons.ts | 1 + 4 files changed, 11 insertions(+) create mode 100644 src/assets/svg/mp_info_lt_ab-split.svg diff --git a/src/assets/svg/mp_info_lt_ab-split.svg b/src/assets/svg/mp_info_lt_ab-split.svg new file mode 100644 index 000000000..bd7508ce1 --- /dev/null +++ b/src/assets/svg/mp_info_lt_ab-split.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts index 92c9f9b55..686c14c17 100644 --- a/src/components/icons/index.ts +++ b/src/components/icons/index.ts @@ -86,8 +86,10 @@ import FullScreen from 'src/assets/svg/mp_act_lt_full-screen.svg?react' import Edit from 'src/assets/svg/mp_act_lt_edit.svg?react' import Copy from 'src/assets/svg/mp_act_lt_copy.svg?react' import MoreActions from 'src/assets/svg/mp_act_lt_more-actions.svg?react' +import AbSplit from 'src/assets/svg/mp_info_lt_ab-split.svg?react' export { + AbSplit, Account, ActiveIcon, AddIcon, diff --git a/src/constants/Icons.ts b/src/constants/Icons.ts index 5910812af..9dbd612e5 100644 --- a/src/constants/Icons.ts +++ b/src/constants/Icons.ts @@ -89,9 +89,14 @@ import { Edit, Copy, MoreActions, + AbSplit, } from 'src/components/icons' export const Icons: Record = { + abSplit: { + light: AbSplit, + default: 'light', + }, account: { light: Account, default: 'light', diff --git a/src/types/icons.ts b/src/types/icons.ts index 5a01e0211..a631fbf5e 100644 --- a/src/types/icons.ts +++ b/src/types/icons.ts @@ -15,6 +15,7 @@ export type IconOptions = RequireAtLeastOne< // TODO: Mark icon names as @deprecated in ticket UNI-838. export type IconNames = + | 'abSplit' | 'account' | 'active' | 'add'