Skip to content

Commit

Permalink
DOC: Update readme
Browse files Browse the repository at this point in the history
remove the undefined `closePortal` method and replace it with` closeModal`
  • Loading branch information
hillkim authored Mar 30, 2020
1 parent 28349d6 commit 26b9c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const App = () => {
{isOpen && (
<Modal>
<p>
<button onClick={closePortal}>Close me!</button>, hit ESC or
<button onClick={closeModal}>Close me!</button>, hit ESC or
Cool Modal 😜
</p>
</Modal>
Expand Down

0 comments on commit 26b9c03

Please sign in to comment.