mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
16 lines
299 B
React
16 lines
299 B
React
|
var InputNumber = require('rc-input-number');
|
||
|
var React = require('react');
|
||
|
|
||
|
var AntInputNumber = React.createClass({
|
||
|
getDefaultProps() {
|
||
|
return {
|
||
|
prefixCls: 'ant-input-number'
|
||
|
};
|
||
|
},
|
||
|
render() {
|
||
|
return <InputNumber {...this.props}/>;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
module.exports = AntInputNumber;
|