ant-design/components/input-number/index.jsx

16 lines
320 B
React
Raw Normal View History

2015-07-01 14:48:47 +08:00
var InputNumber = require('rc-input-number');
var React = require('react');
var AntInputNumber = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-input-number'
};
},
render() {
2015-07-20 20:03:45 +08:00
return <InputNumber style={{width: 90}} {...this.props} />;
2015-07-01 14:48:47 +08:00
}
});
module.exports = AntInputNumber;