@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.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
- style
2152
- }) => {
2153
- const { top, bottom } = useSafeAreaInsets5();
2154
- const styles = StyleSheet3.create({
2155
- root: {
2156
- paddingTop: top,
2157
- paddingBottom: bottom,
2158
- flex: 1
2159
- }
2160
- });
2161
- return /* @__PURE__ */ React17.createElement(View12, { style: [styles.root, style] }, children);
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";