chore: add name props to input-related interfaces (#6276)

This commit is contained in:
Panjie Setiawan Wicaksono 2017-05-27 08:31:06 +07:00 committed by Benjy Cui
parent 720a3d30b4
commit 1abbc1c31b
3 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export interface AbstractCheckboxProps {
onMouseEnter?: React.MouseEventHandler<any>;
onMouseLeave?: React.MouseEventHandler<any>;
value?: any;
name?: string;
}
export interface CheckboxProps extends AbstractCheckboxProps {

View File

@ -17,6 +17,7 @@ export interface InputNumberProps {
placeholder?: string;
style?: React.CSSProperties;
className?: string;
name?: string;
}
export default class InputNumber extends React.Component<InputNumberProps, any> {

View File

@ -15,6 +15,7 @@ export interface SearchProps {
size?: 'large' | 'default' | 'small';
disabled?: boolean;
readOnly?: boolean;
name?: string;
}
export default class Search extends React.Component<SearchProps, any> {