1//#react native elements bottom sheet close on back button press
2<BottomSheet
3isVisible={isModelVisible}
4modalProps={{
5 animationType: 'fade',
6 hardwareAccelerated: true,
7 onRequestClose: () => {
8 setModelVisible(false);
9 },
10}}>
11 ....
12 <BottomSheet/>