mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
404 B
404 B
order | title | ||||
---|---|---|---|---|---|
4 |
|
zh-CN
展示具有具体含义的数据。
en-US
Display value within it's situation.
import { InputNumber } from 'antd';
function onChange(value) {
console.log('changed', value);
}
ReactDOM.render(
<InputNumber formatter={value => `$ ${value}`} defaultValue={100} onChange={onChange} />
, mountNode);