@hoddy-ui/next 2.5.74 → 2.5.75
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +13 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2143,23 +2143,22 @@ var Locator = ({
|
|
|
2143
2143
|
};
|
|
2144
2144
|
|
|
2145
2145
|
// ../src/Components/SafeAreaView.tsx
|
|
2146
|
-
import React17 from "react";
|
|
2146
|
+
import React17, { forwardRef as forwardRef4 } from "react";
|
|
2147
2147
|
import { useSafeAreaInsets as useSafeAreaInsets5 } from "react-native-safe-area-context";
|
|
2148
2148
|
import { StyleSheet as StyleSheet3, View as View12 } from "react-native";
|
|
2149
|
-
var SafeAreaView = (
|
|
2150
|
-
children,
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
};
|
|
2149
|
+
var SafeAreaView = forwardRef4(
|
|
2150
|
+
({ children, style }, ref) => {
|
|
2151
|
+
const { top, bottom } = useSafeAreaInsets5();
|
|
2152
|
+
const styles = StyleSheet3.create({
|
|
2153
|
+
root: {
|
|
2154
|
+
paddingTop: top,
|
|
2155
|
+
paddingBottom: bottom,
|
|
2156
|
+
flex: 1
|
|
2157
|
+
}
|
|
2158
|
+
});
|
|
2159
|
+
return /* @__PURE__ */ React17.createElement(View12, { ref, style: [styles.root, style] }, children);
|
|
2160
|
+
}
|
|
2161
|
+
);
|
|
2163
2162
|
|
|
2164
2163
|
// ../src/Components/Divider.tsx
|
|
2165
2164
|
import React18 from "react";
|