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.
Variations
Changing currency
The currency icon can be changed, GBP, EUR, AUD and USD are currently supported.
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"] |