Skip to contentOpen History to see the last commit
sheet-surface.ts
6 lines290 Bytes
1import { Platform } from "react-native"; 3export function formSheetDetents(initialDetent: number, androidExpandedDetent = 0.92) { 5 return [initialDetent, Platform.OS === "ios" ? 1 : androidExpandedDetent];