@hero-design/rn 8.84.2 → 8.85.0

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.
@@ -1,3 +1,4 @@
1
- import { ScrollViewProps } from 'react-native';
2
- declare const BottomSheetScrollView: ({ scrollEventThrottle, ...props }: ScrollViewProps) => JSX.Element;
1
+ import React from 'react';
2
+ import { ScrollView, ScrollViewProps } from 'react-native';
3
+ declare const BottomSheetScrollView: React.ForwardRefExoticComponent<ScrollViewProps & React.RefAttributes<ScrollView>>;
3
4
  export default BottomSheetScrollView;
@@ -1,4 +1,5 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
+ import React from 'react';
2
3
  import type { StyleProp, ViewStyle } from 'react-native';
3
4
  import { KeyboardAvoidingViewProps } from 'react-native';
4
5
  export interface BottomSheetProps {
@@ -69,6 +70,6 @@ export interface BottomSheetProps {
69
70
  variant?: 'fixed' | 'floating';
70
71
  }
71
72
  declare const _default: (({ open, header, footer, children, onAnimationEnd, onOpen, onRequestClose, onDismiss, showCloseButton, hasBackdrop, showDivider, style, testID, keyboardAvoidingViewProps, supportedOrientations, variant, }: BottomSheetProps) => JSX.Element) & {
72
- ScrollView: ({ scrollEventThrottle, ...props }: import("react-native").ScrollViewProps) => JSX.Element;
73
+ ScrollView: React.ForwardRefExoticComponent<import("react-native").ScrollViewProps & React.RefAttributes<import("react-native").ScrollView>>;
73
74
  };
74
75
  export default _default;
@@ -127,6 +127,10 @@ declare const config: {
127
127
  readonly property: "paddingVertical";
128
128
  readonly scale: "space";
129
129
  };
130
+ readonly gap: {
131
+ readonly property: "gap";
132
+ readonly scale: "space";
133
+ };
130
134
  readonly backgroundColor: {
131
135
  readonly property: "backgroundColor";
132
136
  readonly scale: "colors";