CurrencyInput

CurrencyInput component uses react-admin SelectField with a pre-defined currencies list.

Usage

import { CurrencyInput } from '@ra-libs/react';

<CurrencyInput fullWidth validate={[required()]} />;

Props

PropRequiredTypeDefaultDescription

source

false

string

currency

the field source to retrieve its value.

Last updated