Skip to content

Commit

Permalink
example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zawette committed Feb 22, 2021
1 parent 78a99c5 commit fac61b6
Show file tree
Hide file tree
Showing 5 changed files with 316 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Collapse from 'react-zaw-collapse';
<Collapse
header="test Header"
className="myAccordion"
onToggle={prevState => console.log(prevState)}
onClick={prevState => console.log(prevState)}
>
Officia excepteur est velit tempor voluptate laborum excepteur ad enim duis
velit velit velit exercitation. Sunt mollit nisi minim sint amet culpa nisi
Expand Down
2 changes: 1 addition & 1 deletion example/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const App = () => {
<Collapse
header="nested collapse"
className="myAccordion"
// initExpanded
initExpanded
// disabled
// isExpanded={isExpanded}
// onClick={prevState => {
Expand Down
Loading

0 comments on commit fac61b6

Please sign in to comment.