UNPKG

grommet

Version:

focus on the essential experience

17 lines (13 loc) 447 B
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; validate?: {regexp?: object,message?: string} | ((...args: any[]) => any); } declare const FormField: React.ComponentClass<FormFieldProps & JSX.IntrinsicElements['div']>; export { FormField };