Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | import "@jga/ui-table/public/build/bundle"; import { Story, Meta } from "@storybook/html"; export default { title: "Components/Tables", } as Meta; interface Properties { headers: string[]; data: string[][]; } const Template: Story<Properties> = ({ headers, data }) => { return ` <jga-ui-table headers='${JSON.stringify(headers)}' data='${JSON.stringify(data)}' ></jga-ui-table> `; }; export const Default = Template.bind({}); Default.args = { headers: ["Movie Title"], data: [["Star Wars"], ["Howard The Duck"], ["Americam Graffit"]], }; |