github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/components/dashboards/charts/ColumnChart/index.tsx (about) 1 import Chart from "../Chart"; 2 import { ChartProps, IChart } from "../types"; 3 import { registerChartComponent } from "../index"; 4 5 const ColumnChart = (props: ChartProps) => { 6 return <Chart {...props} />; 7 }; 8 9 const definition: IChart = { 10 type: "column", 11 component: ColumnChart, 12 }; 13 14 registerChartComponent(definition.type, definition); 15 16 export default definition;