import { Meta, moduleMetadata, Story } from "@storybook/angular"; import { TableModule } from "./table.module"; export default { title: "Component Library/Table", decorators: [ moduleMetadata({ imports: [TableModule], }), ], argTypes: { alignRowContent: { options: ["top", "middle", "bottom", "baseline"], control: { type: "select" }, }, }, parameters: { design: { type: "figma", url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A18371", }, }, } as Meta; const Template: Story = (args) => ({ props: args, template: ` Header 1 Header 2 Header 3 Cell 1 Cell 2
Multiline Cell Cell 3 Cell 4 Cell 5 Cell 6 Cell 7
Multiline Cell Cell 8 Cell 9
`, }); export const Default = Template.bind({}); Default.args = { alignRowContent: "baseline", };