[change] Refactor localization APIs

* Control writing direction using 'dir' and 'lang' props.
* Change the compiler output for RTL styles polyfill.
* Export 'useLocaleContext' for working with writing direction context.
* Turn I18nManager into a mock API
This commit is contained in:
Nicolas Gallagher
2022-03-18 13:25:30 -07:00
parent e7a99f5ef2
commit da1a75a7f4
43 changed files with 1183 additions and 889 deletions
@@ -67,5 +67,6 @@ module.exports = {
render: true,
unmountComponentAtNode: true,
useColorScheme: true,
useLocaleContext: true,
useWindowDimensions: true
};