NUMBER_FORMAT_DEFAULT_CURRENCY

const
Internationalisation

Default currency code (ISO 4217) used by OrigamNumberFormat when format='currency' and the consumer omits the currency prop. Defaulting to 'USD' rather than throwing keeps story controls forgiving.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamNumberFormat

Usage

Examples

Ready-to-paste code snippets using this constant.

Falling back to the default currency

typescript