useCurrencies
Custom hook to return a list of currencies translated using react-admin useLocaleState hook.
Usage
import { useCurrencies } from '@ra-libs/react';
const currencies = useCurrencies();
Example
[
{
"id": "<id>",
"name": "<symbol> - <translated-name>"
},
{
"id": "BRL",
"name": "R$ - moeda brasileira"
}
]
Last updated