import { useTranslation } from 'react-i18next' import type { SpiritEntity } from '../lib/types' import { GhostGlyph } from './GhostGlyph' export type EntityCardProps = { entity: SpiritEntity | null isNew: boolean } const RARITY_CLASS: Record = { common: 'rarity-common', uncommon: 'rarity-uncommon', rare: 'rarity-rare', mythic: 'rarity-mythic', } /** Occult dossier of the currently-summoned spirit, wax-seal vibe. */ export function EntityCard({ entity, isNew }: EntityCardProps) { const { t } = useTranslation() if (!entity) { return ( ) } return ( ) }