@react-typed-forms/mui
Version:

13 lines (12 loc) • 422 B
TypeScript
import { Control } from "@react-typed-forms/core";
import React, { ReactNode } from "react";
export interface FFormControlProps<A> {
label?: string;
helperText?: string;
state: Control<A>;
control: (props: {
id: string;
ariaDescribedBy: string;
}) => ReactNode;
}
export declare function FFormControl<A>({ label, state, helperText, control, }: FFormControlProps<A>): React.JSX.Element;