From 26c8ad46eaf15e4b62062270dc061033addf159f Mon Sep 17 00:00:00 2001 From: =roshangm1 Date: Fri, 21 Dec 2018 23:53:35 +0545 Subject: [PATCH] dismissiable true by default bug fixed --- DialogModal.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DialogModal.js b/DialogModal.js index 5c726e2..d049ecf 100644 --- a/DialogModal.js +++ b/DialogModal.js @@ -39,7 +39,7 @@ export class DialogProvider extends React.Component { animatedValue = new Animated.Value(0); - showDialog = (component, dismissable, style) => { + showDialog = (component, dismissable = true, style) => { // alert('alert'); this.component = component; this.setState( diff --git a/package.json b/package.json index 3f976e1..091989e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dialog-modal", - "version": "0.0.3", + "version": "0.0.4", "description": "Dialog Modal", "main": "index.js", "scripts": {},