跳转到内容

Currency

货币控件

Currency API

ICurrencyProps

参数类型说明默认值
maxnumber最大值-
minnumber最小值-
stepstring步长-
digitsnumber精度-
unitboolean | string单位-
showCurrencyboolean是否展示货币符号-
fullWidthboolean是否铺满宽度-
currencyTypestring单独指定货币单位-
formatstring用于只读态的格式化,参考numeral.js文档-
unitInFrontboolean使用前缀方式显示货币单位false
styleReact.CSSProperties自定义样式-

RangeCurrency API

IRangeCurrencyProps

参数类型说明默认值
digitsnumber精度-
unitboolean | string单位-
maxnumber最大值-
minnumber最小值-