react-native-ui-lib 8.1.8-snapshot.7626 → 8.1.8-snapshot.7628

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.
@@ -75,7 +75,11 @@ export type KeyboardTrackingViewProps = ViewProps & {
75
75
  style?: StyleProp<ViewStyle>;
76
76
  children?: React.ReactNode;
77
77
  };
78
- declare const _default: React.ForwardRefExoticComponent<Omit<KeyboardTrackingViewProps, "ref"> & React.RefAttributes<unknown>> & {
78
+ declare const defaultProps: {};
79
+ declare const KeyboardTrackingView: React.ForwardRefExoticComponent<Omit<KeyboardTrackingViewProps, "ref"> & React.RefAttributes<unknown>>;
80
+ type KeyboardTrackingViewType = typeof KeyboardTrackingView & {
79
81
  scrollBehaviors: typeof SCROLL_BEHAVIORS;
82
+ defaultProps: typeof defaultProps;
80
83
  };
84
+ declare const _default: KeyboardTrackingViewType;
81
85
  export default _default;
@@ -8,15 +8,16 @@ const SCROLL_BEHAVIORS = {
8
8
  SCROLL_TO_BOTTOM_INVERTED_ONLY: NativeModules.KeyboardTrackingViewTempManager?.KeyboardTrackingScrollBehaviorScrollToBottomInvertedOnly,
9
9
  FIXED_OFFSET: NativeModules.KeyboardTrackingViewTempManager?.KeyboardTrackingScrollBehaviorFixedOffset
10
10
  };
11
+ const defaultProps = {};
11
12
  const KeyboardTrackingView = forwardRef(({
12
13
  children,
13
14
  ...others
14
15
  }, ref) => {
15
16
  const KeyboardTrackingViewContainer = isAndroid ? KeyboardTrackingViewAndroid : KeyboardTrackingViewIOS;
16
- return <KeyboardTrackingViewContainer {...others} ref={ref}>
17
+ return <KeyboardTrackingViewContainer {...defaultProps} {...others} ref={ref}>
17
18
  {children}
18
19
  </KeyboardTrackingViewContainer>;
19
20
  });
20
- export default KeyboardTrackingView;
21
- // @ts-expect-error
22
- KeyboardTrackingView.scrollBehaviors = SCROLL_BEHAVIORS;
21
+ KeyboardTrackingView.defaultProps = defaultProps;
22
+ KeyboardTrackingView.scrollBehaviors = SCROLL_BEHAVIORS;
23
+ export default KeyboardTrackingView;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  SCROLL_TO_BOTTOM_INVERTED_ONLY: any;
12
12
  FIXED_OFFSET: any;
13
13
  };
14
+ defaultProps: {};
14
15
  };
15
16
  KeyboardAwareInsetsView: {
16
17
  (props: import("react-native/types").ViewProps & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "8.1.8-snapshot.7626",
3
+ "version": "8.1.8-snapshot.7628",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",