Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add crosshair icon #509

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading