import { CHIP_UI, Default, NAME, pattern, TILE_UI, UI } from "commonfabric"; /** * CT-1321 UI-variants demo. Exports the full size spectrum: * - [UI] full standalone rendering * - [CHIP_UI] inline chip * - [TILE_UI] gallery/grid tile * * Render any variant with ``. * A piece that omits [CHIP_UI]/[TILE_UI] still renders at those variants via * the platform defaults (cf-cell-link for chip, the full [UI] scaled for tile). */ export default pattern<{ title: string | Default<"UI Variants Demo"> }>( ({ title }) => ({ [NAME]: title, [UI]: (

{title}

Full standalone [UI] — the universal floor.

), [CHIP_UI]: ( 🔖 {title} ), [TILE_UI]: (
{title}
tile variant
), title, }), );