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