export type TileVariant = "static" | "clickable" | "selectable"; import type { Snippet } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; type TileProps = Omit, "class" | "title"> & { /** `static` (présentation), `clickable` (lien/bouton), `selectable` (case unitaire). */ variant?: TileVariant; /** Pour `clickable` : si fourni, rend un ``, sinon un `