From 749b8a0f2b1be319b504376d36223f75ec1eda20 Mon Sep 17 00:00:00 2001 From: wrigh393 Date: Mon, 1 Mar 2021 13:29:48 -0500 Subject: [PATCH] Storybook docs example using ItemTable --- .../ItemTable/ItemTable.stories.mdx | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/components/ItemTable/ItemTable.stories.mdx diff --git a/src/components/ItemTable/ItemTable.stories.mdx b/src/components/ItemTable/ItemTable.stories.mdx new file mode 100644 index 0000000..6987d25 --- /dev/null +++ b/src/components/ItemTable/ItemTable.stories.mdx @@ -0,0 +1,37 @@ +import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; +import ItemTable from './ItemTable'; + +The ItemTable is the primary view for webqueue2. It displays item metadata for items of selected queues and allows for filtering by field and opening an item by clicking. Items are passed in as a required parameter. It is to be used with the [ItemTableAppBar](/#/Components/ItemTableAppBar). +It is based on [react-table](https://react-table.tanstack.com/). + + + +export const Template = (props) => + +# ItemTable Loading Content (Loading) + + + + {Template.bind({})} + + + +# ItemTable With Content(Loaded) + + + + {Template.bind({})} + +