UNPKG

doj-react-adminlte

Version:

Simple and easy-to-use AdminLTE components for React

23 lines (18 loc) 663 B
import * as React from 'react'; export interface FormProps { /** * Bind the error message' object in this prop that will be executed when the validation failed. */ errors?: Object; /** * The corresponding function that is binded in this prop will trigger when the value of an element has been changed. */ onChange?: (...args: any[])=>any; /** * The corresponding function that is binded in this prop will trigger when the enter key was pressed. */ onEnterKey?: (...args: any[])=>any; } export default class Form extends React.Component<FormProps, any> { render(): JSX.Element; }