Usage

Format a message for the user's locale.

tsx
// Format a message for the user's locale.
import { localization } from 'kuito';

const [locale] = localization.locales.value;
const [calendar] = localization.calendars.value;

locale?.languageTag; // 'pt-PT'
calendar?.timeZone; // 'Europe/Lisbon'

Properties and methods 1

NameTypeRequiredDescription
valuereadonlyCalendarInfo[]Yes—
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.