Skip to content

Commit

Permalink
feat: add abSplit icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nastyastavitskaya committed Nov 21, 2024
1 parent 28a51b7 commit ab4a5d7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_ab-split.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,14 @@ import {
Edit,
Copy,
MoreActions,
AbSplit,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
abSplit: {
light: AbSplit,
default: 'light',
},
account: {
light: Account,
default: 'light',
Expand Down
1 change: 1 addition & 0 deletions src/types/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ab4a5d7

Please sign in to comment.