import { type FunctionComponent } from 'react'; interface Props { character: string; className?: string; color: string; points?: number; size: number; transform?: string; x: number; y: number; } export const Tile: FunctionComponent = ({ character, className, color, points, size, transform, x, y }) => ( {character} {typeof points === 'number' && ( {points} )} );