decent
This commit is contained in:
17
web-components/dist/components/FormSidebar/FormSidebar.d.ts
vendored
Normal file
17
web-components/dist/components/FormSidebar/FormSidebar.d.ts
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import { FormField } from '../../types';
|
||||
export interface FormSidebarProps {
|
||||
opened: boolean;
|
||||
onClose: () => void;
|
||||
onSuccess: () => void;
|
||||
title: string;
|
||||
editMode?: boolean;
|
||||
editItem?: any;
|
||||
fields: FormField[];
|
||||
onSubmit: (values: any) => Promise<void>;
|
||||
width?: number;
|
||||
initialValues?: Record<string, any>;
|
||||
validateOnSubmit?: boolean;
|
||||
}
|
||||
declare const FormSidebar: React.FC<FormSidebarProps>;
|
||||
export default FormSidebar;
|
||||
Reference in New Issue
Block a user