grommet
Version:
focus on the essential experience
15 lines (11 loc) • 380 B
TypeScript
import * as React from "react";
export interface FormProps {
errors?: {};
messages?: {invalid?: string,required?: string};
onChange?: ((...args: any[]) => any);
onSubmit?: ((...args: any[]) => any);
onReset?: ((event: React.SyntheticEvent) => any);
value?: {};
}
declare const Form: React.ComponentClass<FormProps & JSX.IntrinsicElements['form']>;
export { Form };