summaryrefslogtreecommitdiff
path: root/src/containers/Service/ServiceContext.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-16 01:38:54 +0300
committereug-vs <eug-vs@keemail.me>2021-03-16 01:38:54 +0300
commit49a44a5762a2863566267689002834ee88d06abb (patch)
treeb471b6ace58355f8d08e024e7546bf57057fe8fb /src/containers/Service/ServiceContext.tsx
parent6a200e57d4a0be0532587b9648ff8d58f97e91e8 (diff)
downloadcommercel-ui-49a44a5762a2863566267689002834ee88d06abb.tar.gz
feat: add WaybillPanel
Diffstat (limited to 'src/containers/Service/ServiceContext.tsx')
-rw-r--r--src/containers/Service/ServiceContext.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/containers/Service/ServiceContext.tsx b/src/containers/Service/ServiceContext.tsx
index c035417..b4200a0 100644
--- a/src/containers/Service/ServiceContext.tsx
+++ b/src/containers/Service/ServiceContext.tsx
@@ -1,6 +1,10 @@
import React from 'react';
import { FormikProps } from 'formik';
+export interface PanelProps {
+ item: any;
+}
+
export interface ServiceParams {
route: string;
name: string;
@@ -8,6 +12,7 @@ export interface ServiceParams {
tableFields: any[];
default: Record<string, any>;
Form?: React.FC<FormikProps>;
+ Panel?: React.FC<PanelProps>;
}
const ServiceContext = React.createContext<ServiceParams>({