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

14 lines
274 B
React
Raw Normal View History

import InputNumber from 'rc-input-number';
import React from 'react';
2015-07-01 14:48:47 +08:00
export default React.createClass({
2015-07-01 14:48:47 +08:00
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
}
});