interface FormComponent {
    $$typeof: symbol;
    ErrorList: FC<ErrorListProps>;
    Item: FC<FormItemProps> & {
        useStatus: UseFormItemStatus;
    };
    List: ((__namedParameters) => Element);
    Provider: FC<FormProviderProps>;
    defaultProps?: Partial<FormProps<any>>;
    displayName?: string;
    propTypes?: WeakValidationMap<FormProps<any>>;
    useForm: (<Values>(form?) => [FormInstance<Values>]);
    useFormInstance: (<Value>() => FormInstance<Value>);
    useWatch: {
        <TDependencies1, TForm, TDependencies2, TDependencies3, TDependencies4>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3][TDependencies4];
        <TDependencies1, TForm, TDependencies2, TDependencies3>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3];
        <TDependencies1, TForm, TDependencies2>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2];
        <TDependencies, TForm>(dependencies, form?): GetGeneric<TForm>[TDependencies];
        <TForm>(dependencies, form?): GetGeneric<TForm>;
        <TForm, TSelected>(selector, form?): TSelected;
        <ValueType, TSelected>(selector, form?): TSelected;
        <TForm>(dependencies, form?): any;
        <ValueType>(dependencies, form?): ValueType;
    };
    (props): ReactNode;
}

Hierarchy

  • ForwardRefExoticComponent<FormProps>
    • FormComponent

Properties

$$typeof: symbol
ErrorList: FC<ErrorListProps>
Item: FC<FormItemProps> & {
    useStatus: UseFormItemStatus;
}

Type declaration

  • useStatus: UseFormItemStatus
Provider: FC<FormProviderProps>
defaultProps?: Partial<FormProps<any>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<FormProps<any>>
useForm: (<Values>(form?) => [FormInstance<Values>])

Type declaration

useFormInstance: (<Value>() => FormInstance<Value>)

Type declaration

useWatch: {
    <TDependencies1, TForm, TDependencies2, TDependencies3, TDependencies4>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3][TDependencies4];
    <TDependencies1, TForm, TDependencies2, TDependencies3>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3];
    <TDependencies1, TForm, TDependencies2>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2];
    <TDependencies, TForm>(dependencies, form?): GetGeneric<TForm>[TDependencies];
    <TForm>(dependencies, form?): GetGeneric<TForm>;
    <TForm, TSelected>(selector, form?): TSelected;
    <ValueType, TSelected>(selector, form?): TSelected;
    <TForm>(dependencies, form?): any;
    <ValueType>(dependencies, form?): ValueType;
}

Type declaration

Components - Form

List: ((__namedParameters) => Element)

Type declaration

    • (__namedParameters): Element
    • FormList

      Parameters

      • __namedParameters: FormListProps

      Returns Element

Generated using TypeDoc