@lvxiaowu/antd4
Version:
antd4-components
17 lines (15 loc) • 492 B
TypeScript
import { DrawerProps } from 'antd'
import { ReactNode, FC } from 'react'
import DrawerStore from './store'
export interface DrawerStoreInstance {
$drawer?: DrawerStore
[propName: string]: any
}
type ChildFunc = (data: any) => ReactNode
export interface SdDrawerProps extends DrawerProps {
store?: DrawerStore | DrawerStoreInstance
children: ReactNode | ChildFunc
getProps?(data: any): DrawerProps
}
declare const SdDrawer: FC<SdDrawerProps>
export default SdDrawer