Skip to content

Commit

Permalink
Updated ItemTable docs props and the library that is being used for t…
Browse files Browse the repository at this point in the history
…he table
  • Loading branch information
wrigh393 committed Feb 8, 2021
1 parent 7be45ff commit 9b0a11d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ItemTable/ItemTable.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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 [material-table](https://material-table.com/).
It is based on [react-table](https://react-table.tanstack.com/).
```jsx
import React, { useState, useEffect } from "react";

Expand All @@ -17,9 +17,9 @@ useEffect(() => {

}, []);

<ItemTable items={itemQueue} />
<ItemTable data={itemQueue} />
```

```jsx static
<ItemTable items={someArray} />
<ItemTable data={someArray} />
```

0 comments on commit 9b0a11d

Please sign in to comment.