Skip to content

Commit d56e295

Browse files
FollMoon04diasbruno
FollMoon04
authored andcommitted
fix can't close Modal B
1 parent 53dff4b commit d56e295

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: examples/basic/simple_usage/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class SimpleUsage extends Component {
8282
<h1 id="heading" ref={h1 => this.heading = h1}>This is the modal 2!</h1>
8383
<div id="fulldescription" tabIndex="0" role="document">
8484
<p>This is a description of what it does: nothing :)</p>
85+
<button onClick={this.toggleModal(MODAL_B)}>close</button>
8586
</div>
8687
</Modal>
8788
</div>

0 commit comments

Comments
 (0)