React Native Elements Umolne Arkusz Zamknij przycisk Wstecz Naciśnij

//#react native elements bottom sheet close on back button press
<BottomSheet
isVisible={isModelVisible}
modalProps={{
            animationType: 'fade',
            hardwareAccelerated: true,
            onRequestClose: () => {
              setModelVisible(false);
            },
}}>
  ....
  <BottomSheet/>
Jaskaran