UNPKG

@lvxiaowu/antd4

Version:

antd4-components

18 lines (16 loc) 564 B
import { DrawerProps, FormInstance } from 'antd' import { ReactNode, FC } from 'react' import FormDrawerStore from './store' export interface FormDrawerStoreInstance { $drawer?: FormDrawerStore [propName: string]: any } type ChildFunc = (data: any) => ReactNode export interface SdFormDrawerProps extends DrawerProps { form: FormInstance store?: FormDrawerStore | FormDrawerStoreInstance children: ReactNode | ChildFunc getProps?(data: any): DrawerProps } declare const SdFormDrawer: FC<SdFormDrawerProps> export default SdFormDrawer