Skip to content

Commit 26b9c03

Browse files
authored
DOC: Update readme
remove the undefined `closePortal` method and replace it with` closeModal`
1 parent 28349d6 commit 26b9c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const App = () => {
133133
{isOpen && (
134134
<Modal>
135135
<p>
136-
<button onClick={closePortal}>Close me!</button>, hit ESC or
136+
<button onClick={closeModal}>Close me!</button>, hit ESC or
137137
Cool Modal 😜
138138
</p>
139139
</Modal>

0 commit comments

Comments
 (0)