diff options
author | eug-vs <eug-vs@keemail.me> | 2021-04-17 13:08:48 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-04-17 13:09:55 +0300 |
commit | a4a1c456e0788ca52261efb38ff3998710a42a59 (patch) | |
tree | f99725f250c5fc7ae8889760a38f3e4d14a6cc61 /src/lib/ServiceContext.tsx | |
parent | f0e470472a16957217b091489afdab2006719294 (diff) | |
download | commercel-ui-a4a1c456e0788ca52261efb38ff3998710a42a59.tar.gz |
feat: add Filters to Page
Diffstat (limited to 'src/lib/ServiceContext.tsx')
-rw-r--r-- | src/lib/ServiceContext.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
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; |