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

fix: add more icon #403

Merged
merged 6 commits into from
Sep 12, 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/mp_act_lt_more-actions.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 @@ -84,6 +84,7 @@ import ScheduledReport from 'src/assets/svg/mp_pm_lt_scheduled-report.svg?react'
import FullScreen from 'src/assets/svg/mp_act_lt_full-screen.svg?react'
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'

export {
AddIcon,
Expand Down Expand Up @@ -172,4 +173,5 @@ export {
FullScreen,
Edit,
Copy,
MoreActions,
}
5 changes: 5 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ import {
FullScreen,
Edit,
Copy,
MoreActions,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
Expand Down Expand Up @@ -525,4 +526,8 @@ export const Icons: Record<IconNames, IconOptions> = {
light: Copy,
default: 'light',
},
moreActions: {
light: MoreActions,
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 @@ -118,3 +118,4 @@ export type IconNames =
| 'fullScreen'
| 'edit'
| 'copy'
| 'moreActions'
Loading