Comparing version 1.6.0 to 1.6.1
@@ -252,2 +252,11 @@ 'use strict'; | ||
}, { | ||
key: 'componentWillUnmount', | ||
value: function componentWillUnmount() { | ||
var isOpen = this.props.isOpen; | ||
if (isOpen) { | ||
this.close(); | ||
} | ||
} | ||
}, { | ||
key: 'open', | ||
@@ -254,0 +263,0 @@ value: function open() { |
{ | ||
"name": "reactour", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Tourist Guide into your React Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,4 +5,6 @@ <img src="https://cdn.rawgit.com/elrumordelaluz/reactour/96793b17/logo.svg" width="50%" style="margin: 0 auto; display: block;"/> | ||
Tourist Guide into your React Components | ||
Tourist Guide into your React Components ([demo](https://elrumordelaluz.github.io/reactour/)) | ||
[![Edit 7kjp4nzv9q](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/7kjp4nzv9q?module=%2FApp.js) | ||
### Install | ||
@@ -9,0 +11,0 @@ |
52363
1006
113