From 99c834504720ea6d8be1cdc55d1c9b3175ed006b Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Wed, 19 Aug 2020 15:19:55 -0400 Subject: [PATCH] Update ItemTable docs --- src/components/ItemTable/ItemTable.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/ItemTable/ItemTable.md b/src/components/ItemTable/ItemTable.md index 5600233..0631361 100644 --- a/src/components/ItemTable/ItemTable.md +++ b/src/components/ItemTable/ItemTable.md @@ -1,4 +1,15 @@ -The ItemTable is a modified version of [material-table](https://material-table.com/) the primary view for webqueue2. It displays metadata for items of selected queues and allows for filtering. By default, it is pre-configured to fetch data the webqueue2 API. +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. By default, it is pre-configured to fetch data from the webqueue2 API. + +It is based on [material-table](https://material-table.com/). ```jsx +import React, { useState } from "react"; + +const [activeItem, setActiveItem] = useState({}); +const [sidebarOpen, setSidebarOpen] = useState({}); + + +``` + +```jsx static ``` \ No newline at end of file