///
import {Component} from 'react';
export interface IPropTypes {
children: React.ReactNode;
onSubmit?: (event: Event) => void;
labelPosition?: 'top' | 'left';
className?: string;
}
export interface IStateTypes {
}
export class Form extends Component {
static defaultProps: IPropTypes;
}
export interface IFormItemPropTypes {
children: React.ReactNode;
label: React.ReactNode;
info?: React.ReactNode;
status?: 'normal' | 'success' | 'error' | 'warn';
labelStyle?: any;
labelPosition?: 'top' | 'left';
style?: any;
elementStyle?: any;
className?: string;
}
export interface IFormItemStateTypes {
}
export class FormItem extends Component {
static defaultProps: IFormItemPropTypes;
}
export interface IFormGroupPropTypes {
children: React.ReactNode;
label: React.ReactNode;
labelPosition?: 'top' | 'left';
className?: string;
labelStyle?: any;
elementStyle?: any;
style?: any;
}
export interface IFormGroupStateTypes {
}
export class FormGroup extends Component {
static defaultProps: IFormGroupPropTypes;
}