import React from 'react';
import {QueueRow} from './QueueRow';
import {TableRows} from "./TableRows";
import {Empty, Queried, Unqueried, UnqueriedNoURL} from './QueueRow.stories';
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
component: TableRows,
title: 'Example/TableRows',
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
argTypes: {
backgroundColor: {control: 'color'},
},
};
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
const Template = (args) => ;
var allRows = {
Empty,
Unqueried,
UnqueriedNoURL,
Queried,
};
export var rows = Object.keys(allRows).map((rowKey, index) => {
const rowArgs = allRows[rowKey].args
return {index}
});
export const AllRowsKinds = Template.bind({});
AllRowsKinds.args = {rows};