summaryrefslogtreecommitdiff
path: root/src/containers/Products.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-14 01:38:55 +0300
committereug-vs <eug-vs@keemail.me>2021-03-14 01:38:55 +0300
commitcfb287490d353166cf0a3db7105d8002cc473f00 (patch)
tree779cdbd01757ac46b565422c32946e52213a4fcc /src/containers/Products.tsx
parent05ccf76dbbb54e52ae81a469f91b3660057058dc (diff)
downloadcommercel-ui-cfb287490d353166cf0a3db7105d8002cc473f00.tar.gz
feat: add DataTable component
Diffstat (limited to 'src/containers/Products.tsx')
-rw-r--r--src/containers/Products.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/Products.tsx b/src/containers/Products.tsx
index c96e6a9..9b4f507 100644
--- a/src/containers/Products.tsx
+++ b/src/containers/Products.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import Paper from '../components/Paper';
-import ListTable from '../components/ListTable';
+import DataTable from '../components/DataTable';
const fields = [
{ key: '_id', label: 'ID' },
@@ -19,7 +19,7 @@ const items = [
const Home: React.FC = () => (
<Paper>
- <ListTable items={items} fields={fields} />
+ <DataTable title="Товары" items={items} fields={fields} />
</Paper>
);