From a4a1c456e0788ca52261efb38ff3998710a42a59 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 17 Apr 2021 13:08:48 +0300
Subject: feat: add Filters to Page

---
 src/lib/ServiceContext.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/lib/ServiceContext.tsx')

diff --git a/src/lib/ServiceContext.tsx b/src/lib/ServiceContext.tsx
index f7170d1..ec76106 100644
--- a/src/lib/ServiceContext.tsx
+++ b/src/lib/ServiceContext.tsx
@@ -2,11 +2,17 @@ import React from 'react';
 import { FormikProps } from 'formik';
 import { Props as ButtonProps } from '../components/Button';
 import { Field } from '../components/ListTable';
+import { Option } from '../components/Select';
 
 export interface Action extends ButtonProps {
   name: string;
 }
 
+export interface Filter {
+  field: string;
+  options: Option[];
+}
+
 export interface PanelProps<T> {
   item: T;
   mutate: (item: T) => void;
-- 
cgit v1.2.3

