react-card-flip icon indicating copy to clipboard operation
react-card-flip copied to clipboard

Allow to specify the initial face via `props.isFlippable` if `props.infinite` is `true`

Open hadielyakhni opened this issue 2 years ago • 0 comments

Hello @AaronCCWong, thank you for this library, very useful!!

For a project I am working on, I needed to choose between showing the front or back of the card on mount, so I did:

<CardFlip infinite={true} isFlippable{condition} ... > ... </CardFlip>

But because I am setting infinite to true, condition didn't have an effect, and always, the front card was showing.

hadielyakhni avatar Mar 12 '22 21:03 hadielyakhni