Skip to content

Commit

Permalink
Changed tsx file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Staszkiewicz committed Apr 2, 2020
1 parent a8ac68e commit 8c39d9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/transitions/SimpleSlide.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export default function SimpleSlide() {
<Slide
direction="up"
in={checkedParent}
parentRef={parent.current}
timeout={500}
parentRef={parent.current}
mountOnEnter
unmountOnExit
>
Expand Down
1 change: 1 addition & 0 deletions docs/src/pages/components/transitions/SimpleSlide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export default function SimpleSlide() {

const handleChange = () => {
setChecked((prev) => !prev);
setCheckedParent(false);
};
const handleChangeParent = () => {
setCheckedParent((prev) => !prev);
Expand Down

0 comments on commit 8c39d9e

Please sign in to comment.