Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native elements bottom sheet close on back button press

//#react native elements bottom sheet close on back button press
<BottomSheet
isVisible={isModelVisible}
modalProps={{
            animationType: 'fade',
            hardwareAccelerated: true,
            onRequestClose: () => {
              setModelVisible(false);
            },
}}>
  ....
  <BottomSheet/>
 
PREVIOUS NEXT
Tagged: #react #native #elements #bottom #sheet #close #button #press
ADD COMMENT
Topic
Name
1+4 =