import React from 'react'
import type {Card} from './types.ts'
import CardToken from './cards/Card.tsx'
const EMPTY_SPACE = '-'
interface CardTokenProps {
card: Card | null
onSelect: () => void
isSelected: boolean
disabled: boolean
}
export default function BoardSlot(props: CardTokenProps): JSX.Element {
const {onSelect, card, isSelected, disabled} = props
if (card === null || card.type === -1) {
return (
)
}
return (
)
}