CurrencyPair
stableCurrency pair display with mid-rate for FX trading and treasury
import { CurrencyPair } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
basereq | string | — | Base currency ISO 4217 code |
quotereq | string | — | Quote currency ISO 4217 code |
rate | number | — | Exchange rate value |
precision | number | 4 | Rate decimal precision |
showRate | boolean | true | Display the rate inline |
density | 'default' | 'compact' | default | Display density |
baserequiredType
stringDefault —Base currency ISO 4217 code
quoterequiredType
stringDefault —Quote currency ISO 4217 code
rateType
numberDefault —Exchange rate value
precisionType
numberDefault 4Rate decimal precision
showRateType
booleanDefault trueDisplay the rate inline
densityType
'default' | 'compact'Default defaultDisplay density
MobileWorks As-Is
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?