import React, {useCallback, useRef, useMemo} from 'react'; import {View, StyleSheet} from 'react-native'; import BottomSheet, {BottomSheetBackdrop} from '@gorhom/bottom-sheet'; export default function BottomDrop({ onChange, children, }) { // ref const bottomSheetRef = useRef(null); // variables const snapPoints = useMemo(() => ['25%', '50%', '75%'], []); // renders const renderBackdrop = useCallback( props => ( ), [], ); return ( {children} ); } const styles = StyleSheet.create({ contentContainer: { padding: 16, alignItems: 'center', }, });