UNPKG

react-native-get-device-locale

Version:

react-native-get-device-locale is a lightweight and efficient React Native module that provides easy access to the device's locale.

7 lines (6 loc) 190 B
import type { TurboModule } from 'react-native'; export interface Spec extends TurboModule { getDeviceLocale(): Promise<string>; } declare const _default: Spec; export default _default;