Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 628 Bytes

currencyfield.md

File metadata and controls

18 lines (12 loc) · 628 Bytes

CurrencyField

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

Usage

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

<CurrencyField fullWidth useLabel />;

Props

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.