@wlloyalty/wll-react-sdk 1.6.11 → 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/native.js
CHANGED
|
@@ -4719,7 +4719,17 @@ var Column = function (_a) {
|
|
|
4719
4719
|
*/
|
|
4720
4720
|
var FullFlex = function (_a) {
|
|
4721
4721
|
var children = _a.children, style = _a.style, rest = __rest(_a, ["children", "style"]);
|
|
4722
|
-
|
|
4722
|
+
var isRTL = IS_WEB &&
|
|
4723
|
+
typeof document !== 'undefined' &&
|
|
4724
|
+
document.documentElement.dir === 'rtl';
|
|
4725
|
+
return (jsxRuntimeExports.jsx(reactNative.View, __assign({ style: [
|
|
4726
|
+
{
|
|
4727
|
+
flex: 1,
|
|
4728
|
+
// If the language is Arabic (RTL), use 'rtl', otherwise 'ltr'.
|
|
4729
|
+
direction: isRTL ? 'rtl' : 'ltr',
|
|
4730
|
+
},
|
|
4731
|
+
style,
|
|
4732
|
+
] }, rest, { children: children })));
|
|
4723
4733
|
};
|
|
4724
4734
|
|
|
4725
4735
|
/**
|