import type { ComponentType } from 'react' ; /**
 * 容器配置
 */ export interface FastFormContainerProps { loading : boolean ; submitLabel ? : string ; layout ? : 'horizontal' | 'vertical' ; /**
     * 是否允许提交
     */ canSubmit ? : boolean ; handleSubmit : ( ) => void ; } export type FastFormContainerComponent = React . ComponentType < FastFormContainerProps > ; let FastFormContainer ; export function regFormContainer ( component ) { FastFormContainer = component ; } export function getFormContainer ( ) { return FastFormContainer ; }