Skip to content

Commit

Permalink
chore: add crosshair icon (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens authored Dec 5, 2024
1 parent 98ea06f commit 96fee79
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/crosshair.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 @@ -8,6 +8,7 @@ import ChartLineIcon from 'src/assets/svg/chart-line.svg?react'
import CheckIcon from 'src/assets/svg/check.svg?react'
import CircleNodesIcon from 'src/assets/svg/circle-nodes.svg?react'
import CloudIcon from 'src/assets/svg/cloud.svg?react'
import CrosshairIcon from 'src/assets/svg/crosshair.svg?react'
import ConnectionsIcon from 'src/assets/svg/connections.svg?react'
import DataPlatformIconDt from 'src/assets/svg/mp_pm_dt_data-platform.svg?react'
import DatabaseIcon from 'src/assets/svg/database.svg?react'
Expand Down Expand Up @@ -105,6 +106,7 @@ export {
CheckIcon,
CircleNodesIcon,
CloudIcon,
CrosshairIcon,
Cohort,
ConnectionsIcon,
ConversionIcon,
Expand Down
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
CheckIcon,
CircleNodesIcon,
CloudIcon,
CrosshairIcon,
ConnectionsIcon,
DataPlatformIconDt,
DatabaseIcon,
Expand Down Expand Up @@ -185,6 +186,10 @@ export const Icons: Record<IconNames, IconOptions> = {
light: Copy,
default: 'light',
},
crosshair: {
light: CrosshairIcon,
default: 'light',
},
dashboard: {
light: Dashboard,
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 @@ -36,6 +36,7 @@ export type IconNames =
| 'connections'
| 'conversion'
| 'copy'
| 'crosshair'
| 'dashboard'
| 'database'
| 'dataPlatform'
Expand Down

0 comments on commit 96fee79

Please sign in to comment.