UNPKG

react-card-memory-game

Version:
16 lines (15 loc) 579 B
import { CSSProperties } from "react"; import './MemoryGame.css'; interface MemoryGameProps { containerStyle?: CSSProperties; gridNumber: number; foundPair?: Function; notFoundPair?: Function; gameFinished?: Function; holeCardsColor?: string; foundCardsColor?: string; frontCardsCss?: string; backCardsCss?: string; } export default function MemoryGame({ containerStyle, gridNumber, foundPair, notFoundPair, gameFinished, holeCardsColor, foundCardsColor, frontCardsCss, backCardsCss }: MemoryGameProps): JSX.Element; export {};