mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
improve props interface in InputNumber and Table (#3360)
This commit is contained in:
parent
7a33a66f50
commit
4b9db4ff87
@ -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> {
|
||||
|
@ -89,6 +89,7 @@ export interface TableProps {
|
||||
scroll?: { x?: boolean | number, y?: boolean | number};
|
||||
childrenColumnName?: 'string';
|
||||
bodyStyle?: React.CSSProperties;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export interface TableContext {
|
||||
|
Loading…
Reference in New Issue
Block a user