UNPKG

react-native-localize

Version:

A toolbox for your React Native app localization.

32 lines (28 loc) 664 B
export type TemperatureUnit = "celsius" | "fahrenheit"; // https://developer.apple.com/documentation/foundation/nscalendaridentifier?language=objc export type Calendar = | "gregorian" | "buddhist" | "coptic" | "ethiopic" | "ethiopic-amete-alem" | "hebrew" | "indian" | "islamic" | "islamic-umm-al-qura" | "islamic-civil" | "islamic-tabular" | "iso8601" | "japanese" | "persian"; export type Locale = Readonly<{ languageCode: string; scriptCode?: string; countryCode: string; languageTag: string; isRTL: boolean; }>; export type NumberFormatSettings = Readonly<{ decimalSeparator: string; groupingSeparator: string; }>;