@wlloyalty/wll-react-sdk 1.6.10 → 1.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/native.js +11 -1
- package/dist/native.js.map +1 -1
- package/dist/web.js +3 -1
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -21884,10 +21884,12 @@ var FullFlex = function (_a) {
|
|
|
21884
21884
|
var children = _a.children,
|
|
21885
21885
|
style = _a.style,
|
|
21886
21886
|
rest = __rest(_a, ["children", "style"]);
|
|
21887
|
+
var isRTL = IS_WEB && typeof document !== 'undefined' && document.documentElement.dir === 'rtl';
|
|
21887
21888
|
return /*#__PURE__*/React.createElement(View$2, __assign({
|
|
21888
21889
|
style: [{
|
|
21889
21890
|
flex: 1,
|
|
21890
|
-
|
|
21891
|
+
// If the language is Arabic (RTL), use 'rtl', otherwise 'ltr'.
|
|
21892
|
+
direction: isRTL ? 'rtl' : 'ltr'
|
|
21891
21893
|
}, style]
|
|
21892
21894
|
}, rest), children);
|
|
21893
21895
|
};
|