mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-01-19 08:30:59 +00:00
8 lines
151 B
JavaScript
8 lines
151 B
JavaScript
import {NativeModules} from 'react-native'
|
|
import I18n from 'i18n-js'
|
|
const {RNI18n} = NativeModules
|
|
|
|
I18n.locale = RNI18n.locale
|
|
|
|
export default I18n
|