Skip to content

Commit

Permalink
fix: add info icon (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif authored Aug 27, 2024
1 parent db88c4e commit d3aa957
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_info.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 @@ -64,6 +64,7 @@ import OverviewIconDt from 'src/assets/svg/mp_pm_dt_overview.svg?react'
import FilterIcon from 'src/assets/svg/mp_act_lt_filter.svg?react'
import ActiveIcon from 'src/assets/svg/mp_info_lt_active.svg?react'
import LinkIcon from 'src/assets/svg/mp_info_link.svg?react'
import InfoIcon from 'src/assets/svg/mp_info_lt_info.svg?react'

export {
AddIcon,
Expand Down Expand Up @@ -132,4 +133,5 @@ export {
FilterIcon,
LinkIcon,
ActiveIcon,
InfoIcon,
}
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ import {
FilterIcon,
ActiveIcon,
LinkIcon,
InfoIcon,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
Expand Down Expand Up @@ -425,4 +426,8 @@ export const Icons: Record<IconNames, IconOptions> = {
light: LinkIcon,
default: 'light',
},
info: {
light: InfoIcon,
default: 'light',
},
} as const
1 change: 1 addition & 0 deletions src/types/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ export type IconNames =
| 'filter'
| 'active'
| 'link'
| 'info'

0 comments on commit d3aa957

Please sign in to comment.