import { TableListRow, TableList } from './TableList';
import Switch from '../../inputs/Switch/Switch'
import { Meta, Story, Canvas } from "@storybook/addon-docs/blocks";

<Meta title="Tables/TableList" component={TableList} />

<Canvas>
	<Story name="TableList">
       <TableList>
            <TableListRow label="Label">Some Content</TableListRow>
            <TableListRow label="Another Label">More Content</TableListRow>
            <TableListRow label="And Another Label">Some More Content</TableListRow>
			<TableListRow label="A switch not centered"><Switch tiny flat/></TableListRow>
			<TableListRow alignMiddle label="A switch centered"><Switch tiny flat/></TableListRow>
        </TableList>
	</Story>
</Canvas>
