Skip to content

Commit

Permalink
feat: bannerFreemium icon added
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartmer committed Dec 17, 2024
1 parent 8776f1c commit 2b0b10f
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/banner-freemium.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 @@ -87,6 +87,7 @@ 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'
import BannerFreemium from 'src/assets/svg/banner-freemium.svg?react'

export {
AbSplit,
Expand Down Expand Up @@ -178,4 +179,5 @@ export {
WrenchIcon,
ZoomIn,
ZoomOut,
BannerFreemium,
}
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ import {
Copy,
MoreActions,
AbSplit,
BannerFreemium,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
Expand Down Expand Up @@ -540,4 +541,8 @@ export const Icons: Record<IconNames, IconOptions> = {
light: ZoomOut,
default: 'light',
},
bannerFreemium: {
'duo-tone': BannerFreemium,
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 @@ -121,3 +121,4 @@ export type IconNames =
| 'wrench'
| 'zoomIn'
| 'zoomOut'
| 'bannerFreemium'

0 comments on commit 2b0b10f

Please sign in to comment.