grommet
Version:
focus on the essential experience
18 lines (14 loc) • 468 B
TypeScript
import * as React from "react";
export interface FormFieldProps {
error?: string | React.ReactNode;
help?: string | React.ReactNode;
htmlFor?: string;
label?: string | React.ReactNode;
name?: string;
pad?: boolean;
required?: boolean;
component?: any;
validate?: {regexp?: object,message?: string} | ((...args: any[]) => any);
}
declare const FormField: React.ComponentClass<FormFieldProps & JSX.IntrinsicElements['input']>;
export { FormField };