mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 03:46:52 +00:00
20 lines
503 B
TypeScript
20 lines
503 B
TypeScript
import { ChartTypes, TextWidgetTypes } from 'nocodb-sdk'
|
|
|
|
export const chartIconMap = {
|
|
[ChartTypes.BAR]: 'ncChartBar',
|
|
[ChartTypes.LINE]: 'ncChartLine',
|
|
[ChartTypes.PIE]: 'ncChartPie',
|
|
[ChartTypes.DONUT]: 'ncChartDonut',
|
|
[ChartTypes.SCATTER]: 'ncChartScatterPlot',
|
|
}
|
|
|
|
export const textIconMap = {
|
|
[TextWidgetTypes.Markdown]: 'cellLongText',
|
|
[TextWidgetTypes.Text]: 'cellText',
|
|
}
|
|
|
|
export const textLabelMap = {
|
|
[TextWidgetTypes.Markdown]: 'Markdown',
|
|
[TextWidgetTypes.Text]: 'Text',
|
|
}
|