CurrencyField component uses react-admin SelectField with a pre-defined currencies list.
import { CurrencyField } from '@ra-libs/react';
<CurrencyField fullWidth useLabel />;
Prop | Required | Type | Default | Description |
---|---|---|---|---|
useLabel | false | boolean | false | whether to use react-admin Labeled component or not. |
source | false | string | currency | the field source to retrieve its value. |