API ReferenceReactInterfaces
Interface: CurrenciesState
@aliraslan/fx / react / CurrenciesState
Interface: CurrenciesState
Defined in: src/react/store.ts:28
State and actions for the currency rates/base-currency store.
Properties
addCurrency
addCurrency: (
currencyCode,rates) =>void
Defined in: src/react/store.ts:31
Parameters
currencyCode
string
rates
Returns
void
baseCurrency
baseCurrency:
string
Defined in: src/react/store.ts:30
rates
rates:
RatesCache
Defined in: src/react/store.ts:29
setBaseCurrency
setBaseCurrency: (
currencyCode) =>void
Defined in: src/react/store.ts:32
Parameters
currencyCode
string
Returns
void