import React from 'react'; import type { Meta, StoryObj } from '@storybook/react-vite'; import { Table } from '../Table/Table'; import { TableBody } from '../TableBody/TableBody'; import { TableCell } from '../TableCell/TableCell'; import { TableHeader } from '../TableHeader/TableHeader'; import { TableHeaderCell } from '../TableHeaderCell/TableHeaderCell'; import { TableRow } from './TableRow'; const meta: Meta = { title: 'UI kit/Table/TableRow', component: TableRow, tags: ['autodocs'], }; export default meta; type Story = StoryObj; export const Default: Story = { args: {}, argTypes: { type: { control: 'select', options: ['alert', 'attention', 'error', 'muted', 'success'] }, }, render: args => ( Header cell 2 Header cell 3 Header cell 4 Row 1, body cell 1 Row 1, body cell 2 Row 1, body cell 3
), };