improve props interface in InputNumber and Table (#3360)

This commit is contained in:
feng zhi hao 2016-10-10 22:38:47 +08:00 committed by 偏右
parent 7a33a66f50
commit 4b9db4ff87
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,8 @@ export interface InputNumberProps {
disabled?: boolean;
size?: 'large' | 'small' | 'default';
placeholder?: string;
style?: React.CSSProperties;
className?: string;
}
export default class InputNumber extends React.Component<InputNumberProps, any> {

View File

@ -89,6 +89,7 @@ export interface TableProps {
scroll?: { x?: boolean | number, y?: boolean | number};
childrenColumnName?: 'string';
bodyStyle?: React.CSSProperties;
className?: string;
}
export interface TableContext {