Currency Field
Currency Fields allow users to input an amount of money.
Usage
Currency fields allow users to input an amount of money, by default this is GBP.
Edit live code
Variations
Changing currency
The currency icon can be changed, GBP, EUR, AUD and USD are currently supported.
Edit live code
Props
Name | Values | Default |
---|---|---|
id (required) | String | |
label (required) | String | |
optional | Boolean | false |
hint | ReactNode | |
error | ReactNode | |
characters | Number | 25 |
fullWidth | alwaysneversmall | small |
currency | GBPEURAUDUSD | GBP |
... | JSX.IntrinsicElements["input"] |