UNPKG

@attio/react-native-bottom-sheet-toolbox-text-input

Version:
11 lines 826 B
import { type NativeSyntheticEvent, type StyleProp, type TextInputContentSizeChangeEventData, type TextStyle } from "react-native"; import { type SharedValue } from "react-native-reanimated"; export interface UseMinOverlayHeightSharedValueArgs { textInputStyle?: StyleProp<TextStyle>; bottomInsetSharedValue: SharedValue<number>; topInsetSharedValue: SharedValue<number | null>; minTextInputHeightSharedValue: SharedValue<number | null>; fallbackLines: number; } export declare function useMinOverlayHeightSharedValue({ textInputStyle, topInsetSharedValue, bottomInsetSharedValue, minTextInputHeightSharedValue, fallbackLines, }: UseMinOverlayHeightSharedValueArgs): (evt: NativeSyntheticEvent<TextInputContentSizeChangeEventData>) => void; //# sourceMappingURL=use-min-overlay-height-shared-value.d.ts.map