import { useState } from 'react'; const Card = ({ card, onClick, isFlipped, isMatched }) => { return (