From a4a1c456e0788ca52261efb38ff3998710a42a59 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 17 Apr 2021 13:08:48 +0300 Subject: feat: add Filters to Page --- src/lib/ServiceList.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/lib/ServiceList.tsx') diff --git a/src/lib/ServiceList.tsx b/src/lib/ServiceList.tsx index e7015ae..a3c9842 100644 --- a/src/lib/ServiceList.tsx +++ b/src/lib/ServiceList.tsx @@ -16,6 +16,15 @@ const ServiceList: React.FC = () => { route: `/${service.route}/add${location.search}`, }]; + const filters = [{ + field: '_id', + options: [ + { key: 'a', label: 'a' }, + { key: 'b', label: 'b' }, + { key: 'c', label: 'c' }, + ], + }]; + const handleRowClick = (item: any) => { const route = service.rowLink ? service.rowLink(item) @@ -25,7 +34,7 @@ const ServiceList: React.FC = () => { }; return ( - + ); -- cgit v1.2.3