Skip to content

Commit

Permalink
Merge branch 'gdsrosa-add-close-function-to-trigger-on-request-close-…
Browse files Browse the repository at this point in the history
…inside-content'

closes #35
  • Loading branch information
elrumordelaluz committed Dec 19, 2018
2 parents d12bb54 + 5490acd commit 0e565ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TourPortal.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ class TourPortal extends Component {
{steps[current] &&
(typeof steps[current].content === 'function'
? steps[current].content({
close: onRequestClose,
goTo: this.gotoStep,
inDOM,
step: current + 1,
Expand Down

0 comments on commit 0e565ee

Please sign in to comment.