UNPKG

@react-typed-forms/mui

Version:

![npm](https://img.shields.io/npm/v/@react-typed-forms/mui?style=plastic)

13 lines (12 loc) 422 B
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;