Skip to content

Commit

Permalink
Update ReactCardFlip.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfrg authored and AaronCCWong committed Sep 23, 2023
1 parent db9bb89 commit f25a6f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ReactCardFlip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const ReactCardFlip: React.FC<ReactFlipCardProps> = (props) => {
flipSpeedBackToFront: 0.6,
flipSpeedFrontToBack: 0.6,
infinite: false,
isFlipped: false
isFlipped: false,
...props
}

const [isFlipped, setFlipped] = useState(isFlipped);
Expand Down

0 comments on commit f25a6f1

Please sign in to comment.