Skip to content

Commit

Permalink
feat: add overview dt icon (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastyastavitskaya authored Aug 8, 2024
1 parent 5526e1b commit 78d7854
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/assets/svg/mp_pm_dt_overview.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 @@ -60,6 +60,7 @@ import LockIcon from 'src/assets/svg/mp_act_lt_lock.svg?react'
import UnlockIcon from 'src/assets/svg/mp_act_lt_unlock.svg?react'
import NotificationIcon from 'src/assets/svg/mp_pm_lt_notification.svg?react'
import PremiumIconDt from 'src/assets/svg/mp_info_dt_premium.svg?react'
import OverviewIconDt from 'src/assets/svg/mp_pm_dt_overview.svg?react'

export {
AddIcon,
Expand Down Expand Up @@ -124,4 +125,5 @@ export {
UnlockIcon,
NotificationIcon,
PremiumIconDt,
OverviewIconDt,
}
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import {
UnlockIcon,
NotificationIcon,
PremiumIconDt,
OverviewIconDt,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
Expand Down Expand Up @@ -321,4 +322,8 @@ export const Icons: Record<IconNames, IconOptions> = {
light: NotificationIcon,
default: 'light',
},
overview: {
'duo-tone': OverviewIconDt,
default: 'duo-tone',
},
} as const
1 change: 1 addition & 0 deletions src/types/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,4 @@ export type IconNames =
| 'lock'
| 'unlock'
| 'notification'
| 'overview'

0 comments on commit 78d7854

Please sign in to comment.