Files
ui/apps/v4/components/lo-fi/component.tsx
zeekay 11b02e8dcb feat: sync with upstream shadcn/ui (through [email protected])
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in:
- [email protected] through [email protected] releases
- New apps/v4 directory structure
- Registry system improvements and MCP server
- Framework support (Vue, Svelte, React Native)
- New templates (vite-app, monorepo-next, laravel)
- Zod 4 compatibility (scoped override for zod@>4)
- Test fixture corrections for alias resolution

All 867 merge conflicts resolved preserving Hanzo customizations.
1020/1020 shadcn tests pass.
2026-02-09 10:44:26 -08:00

29 lines
784 B
TypeScript

import Link from "next/link"
import { Atom } from "@/components/lo-fi/atom"
function Component({ href, ...props }: React.ComponentProps<typeof Link>) {
return <Link href={href} className="group flex flex-col gap-2" {...props} />
}
function ComponentContent({ ...props }: React.ComponentProps<typeof Atom>) {
return (
<Atom
shade="50"
className="bg-muted/30 ring-muted flex aspect-video items-center justify-center rounded-lg p-4 ring *:w-full *:max-w-[70%]"
{...props}
/>
)
}
function ComponentName({ ...props }: React.ComponentProps<"div">) {
return (
<div
className="text-foreground text-center font-medium underline-offset-2 group-hover:underline"
{...props}
/>
)
}
export { Component, ComponentContent, ComponentName }