import SimpleTableChart from 'sentry/components/charts/simpleTableChart'; export default { title: 'Components/Data Visualization/Charts/Simple Table Chart', component: SimpleTableChart, args: { title: '', }, }; export const _SimpleTableChart = ({title}) => { const organization = {slug: 'org-slug'}; const fields = ['title', 'count()']; const metadata = {count: 'string', title: 'string'}; const data = [ {title: 'An error', count: 100}, {title: 'An longer title that goes on a bit', count: 1000}, ]; return (

Loading State

Filled State

); }; _SimpleTableChart.parameters = { docs: { description: { story: 'A borderless table that can be used in charts/dashboards', }, }, };