mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
b34269a6b1
convert var to const fix bug fix bug fix for jshint fix import
14 lines
274 B
JavaScript
14 lines
274 B
JavaScript
import InputNumber from 'rc-input-number';
|
|
import React from 'react';
|
|
|
|
export default React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-input-number'
|
|
};
|
|
},
|
|
render() {
|
|
return <InputNumber style={{width: 90}} {...this.props} />;
|
|
}
|
|
});
|