From cfb287490d353166cf0a3db7105d8002cc473f00 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sun, 14 Mar 2021 01:38:55 +0300
Subject: feat: add DataTable component

---
 src/containers/Products.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/containers/Products.tsx')

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>
 );
 
-- 
cgit v1.2.3

