Skip to content

Commit

Permalink
feat: add drag and drop icon
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens committed Nov 14, 2024
1 parent 1d1ef31 commit dcb5cec
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_act_lt_dragandrop.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 @@ -11,6 +11,7 @@ import CloudIcon from 'src/assets/svg/cloud.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'
import DragAndDropIcon from 'src/assets/svg/mp_act_lt_dragandrop.svg?react'
import DsrIcon from 'src/assets/svg/mp_pm_lt_dsr.svg?react'
import EmptyIcon from 'src/assets/svg/empty.svg?react'
import EnrichmentIcon from 'src/assets/svg/mp_pm_lt_enrichment.svg?react'
Expand Down Expand Up @@ -100,6 +101,7 @@ export {
ConnectionsIcon,
DataPlatformIconDt,
DatabaseIcon,
DragAndDropIcon,
DsrIcon,
EmptyIcon,
EnrichmentIcon,
Expand Down
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
ConnectionsIcon,
DataPlatformIconDt,
DatabaseIcon,
DragAndDropIcon,
DsrIcon,
EmptyIcon,
EnrichmentIcon,
Expand Down Expand Up @@ -530,4 +531,8 @@ export const Icons: Record<IconNames, IconOptions> = {
light: MoreActions,
default: 'light',
},
dragAndDrop: {
light: DragAndDropIcon,
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 @@ -119,3 +119,4 @@ export type IconNames =
| 'edit'
| 'copy'
| 'moreActions'
| 'dragAndDrop'

0 comments on commit dcb5cec

Please sign in to comment.