@attio/react-native-bottom-sheet-toolbox
Version:
12 lines • 742 B
TypeScript
import type { SharedValue } from "react-native-reanimated";
import { type SheetPosition, type SheetPositionValue } from "../utils/constants";
export declare function getSheetPositionValue(value: SheetPosition): SheetPositionValue;
interface UseNormalizedSheetPositionArgs {
sheetPosition: SheetPosition;
wrapperHeightSharedValue: SharedValue<number | null>;
childrenHeightSharedValue: SharedValue<number | null>;
footerHeightSharedValue: SharedValue<number | null>;
}
export declare function normalizeSheetPosition({ sheetPosition, childrenHeightSharedValue, wrapperHeightSharedValue, footerHeightSharedValue, }: UseNormalizedSheetPositionArgs): number | null;
export {};
//# sourceMappingURL=normalize-sheet-position.d.ts.map