mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
3 changed files with 15 additions and 17 deletions
@ -1,11 +0,0 @@ |
|||||||
import { ViewTypes } from 'nocodb-sdk' |
|
||||||
|
|
||||||
export const viewIcons = { |
|
||||||
[ViewTypes.GRID]: { icon: 'mdi-grid-large', color: 'blue' }, |
|
||||||
// [ViewTypes.GRID]: { icon: "mdi-grid-large", color: "blue" },
|
|
||||||
[ViewTypes.FORM]: { icon: 'mdi-form-select', color: 'pink' }, |
|
||||||
calendar: { icon: 'mdi-calendar', color: 'purple' }, |
|
||||||
[ViewTypes.GALLERY]: { icon: 'mdi-camera-image', color: 'orange' }, |
|
||||||
[ViewTypes.KANBAN]: { icon: 'mdi-tablet-dashboard', color: 'green' }, |
|
||||||
view: { icon: 'mdi-eye-circle-outline', color: 'blue' }, |
|
||||||
} |
|
@ -1,11 +1,19 @@ |
|||||||
import { ViewTypes } from 'nocodb-sdk' |
import { ViewTypes } from 'nocodb-sdk' |
||||||
|
|
||||||
|
import MdiGridIcon from '~icons/mdi/grid-large' |
||||||
|
import MdiFormIcon from '~icons/mdi/form-select' |
||||||
|
import MdiCalendarIcon from '~icons/mdi/calendar' |
||||||
|
import MdiGalleryIcon from '~icons/mdi/camera-image' |
||||||
|
import MdiKanbanIcon from '~icons/mdi/tablet-dashboard' |
||||||
|
import MdiEyeIcon from '~icons/mdi/eye-circle-outline' |
||||||
|
|
||||||
|
|
||||||
export const viewIcons = { |
export const viewIcons = { |
||||||
[ViewTypes.GRID]: { icon: 'mdi-grid-large', color: 'blue' }, |
[ViewTypes.GRID]: { icon: MdiGridIcon, color: 'blue' }, |
||||||
// [ViewTypes.GRID]: { icon: "mdi-grid-large", color: "blue" },
|
// [ViewTypes.GRID]: { icon: "mdi-grid-large", color: "blue" },
|
||||||
[ViewTypes.FORM]: { icon: 'mdi-form-select', color: 'pink' }, |
[ViewTypes.FORM]: { icon: MdiFormIcon, color: 'pink' }, |
||||||
calendar: { icon: 'mdi-calendar', color: 'purple' }, |
calendar: { icon: MdiCalendarIcon, color: 'purple' }, |
||||||
[ViewTypes.GALLERY]: { icon: 'mdi-camera-image', color: 'orange' }, |
[ViewTypes.GALLERY]: { icon: MdiGalleryIcon, color: 'orange' }, |
||||||
[ViewTypes.KANBAN]: { icon: 'mdi-tablet-dashboard', color: 'green' }, |
[ViewTypes.KANBAN]: { icon: MdiKanbanIcon, color: 'green' }, |
||||||
view: { icon: 'mdi-eye-circle-outline', color: 'blue' }, |
view: { icon: MdiEyeIcon, color: 'blue' }, |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue