ant-design/components/input-number/index.jsx
2015-07-20 20:03:45 +08:00

16 lines
320 B
JavaScript

var InputNumber = require('rc-input-number');
var React = require('react');
var AntInputNumber = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-input-number'
};
},
render() {
return <InputNumber style={{width: 90}} {...this.props} />;
}
});
module.exports = AntInputNumber;