Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onDismiss={() => {
this.setState({ swipeableModal: false });
}}
width={0.9}
overlayOpacity={1}
visible={this.state.swipeableModal}
rounded
actionsBordered
onSwipeOut={() => {
this.setState({ swipeableModal: false });
}}
onTouchOutside={() => {
this.setState({ swipeableModal: false });
}}
swipeDirection={['down', 'up']}
modalAnimation={new SlideAnimation({ slideFrom: 'bottom' })}
modalTitle={
}
footer={
{
this.setState({ swipeableModal: false });
}}
key="button-1"
/>