summaryrefslogtreecommitdiff
path: root/src/containers/Service/ServiceContext.tsx
diff options
context:
space:
mode:
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>({