import { lazy, Suspense, type CSSProperties } from "react"; import { classById, raceById } from "../app/characterCatalog"; import type { CharacterDraft, CharacterProfile } from "../app/types"; import { normalizePreviewFrameRateLimit } from "../game/frameRateSettings"; const CharacterPreview3D = lazy(() => import("./CharacterPreview3D")); function AvatarSilhouette({ gender, raceSigil }: { gender: CharacterDraft["gender"]; raceSigil: string; }) { return (
); } export function CharacterPreview({ character, draft, compact = false }: { character?: CharacterProfile | null; draft?: CharacterDraft; compact?: boolean; }) { const source = character ?? draft; if (!source) { returnCreate a character to answer the call.