- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Currency Input
Input component for currency values
Was this example helpful?
Usage#
API Reference#
This component is based on the input element and supports all of its props
Prop | Type | Default |
---|---|---|
symbol | string | - |
code | string | - |
size | "small" | "base" | "base" |
allowDecimals | boolean | - |
allowNegativeValue | boolean | - |
className | string | - |
customInput | ElementType | - |
decimalScale | number | - |
decimalSeparator | string | - |
decimalsLimit | number | - |
defaultValue | string | number | - |
disableAbbreviations | boolean | - |
disabled | boolean | - |
disableGroupSeparators | boolean | - |
fixedDecimalLength | number | - |
formatValueOnBlur | boolean | - |
groupSeparator | string | - |
id | string | - |
intlConfig | IntlConfig | - |
maxLength | number | - |
onValueChange | function | - |
placeholder | string | - |
step | number | - |
transformRawValue | function | - |
Was this helpful?
Examples#
Base#
Was this example helpful?
Small#
Was this example helpful?