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

Définition

La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Valeur résolue

Écosystème

Utilisé par

Composables et composants qui consomment cette constante.

  • OrigamNumberFormat

Usage

Exemples

Extraits de code prêts à coller utilisant cette constante.

Falling back to the default currency

typescript