UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

8 lines (7 loc) 431 B
/** @format */ import type { NamePath } from '../../../form/interface'; import type { FormProps, UseFormReturnType } from '../types/form'; import type { DynamicProps } from '../../../_util/types/utils'; export declare type ValidateFields = (nameList?: NamePath[]) => Promise<Recordable>; export declare type UseFormProps = Partial<DynamicProps<FormProps>>; export declare function useForm(props?: UseFormProps): UseFormReturnType;