import type {ViewProps} from 'react-native'; // import {requireNativeComponent, type ViewProps} from 'react-native'; import type {Int32, WithDefault} from 'react-native/Libraries/Types/CodegenTypes'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; export interface NativeProps extends ViewProps { /** * Enables tracking of the keyboard when it's dismissed interactively (false by default). */ trackInteractive?: WithDefault; /** * iOS only. * Show the keyboard on a negative scroll */ revealKeyboardInteractive?: WithDefault; /** * iOS only. * Set to false to turn off inset management and manage it yourself */ manageScrollView?: WithDefault; /** * iOS only. * Set to true manageScrollView is set to true and still does not work */ requiresSameParentToManageScrollView?: WithDefault; /** * iOS only. * Allow hitting sub-views that are placed beyond the view bounds */ allowHitsOutsideBounds?: WithDefault; /** * Should the scrollView scroll to the focused input */ scrollToFocusedInput?: WithDefault; /** * iOS only. * The scrolling behavior (NONE | SCROLL_TO_BOTTOM_INVERTED_ONLY | FIXED_OFFSET) */ scrollBehavior?: WithDefault; /** * iOS only. * Add a SafeArea view beneath the KeyboardAccessoryView */ addBottomView?: WithDefault; /** * iOS only. * The bottom view's color */ bottomViewColor?: string; /** * Allow control safe area */ useSafeArea?: WithDefault; /** * Whether or not to include bottom tab bar inset */ usesBottomTabs?: WithDefault; } export default codegenNativeComponent('KeyboardTrackingViewTemp'); // const KeyboardTrackingViewNativeComponent = requireNativeComponent('KeyboardTrackingViewTemp'); // export default KeyboardTrackingViewNativeComponent;