mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
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.
18 lines
647 B
TypeScript
18 lines
647 B
TypeScript
export function TailwindIndicator() {
|
|
if (process.env.NODE_ENV === "production") return null
|
|
|
|
return (
|
|
<div
|
|
data-tailwind-indicator=""
|
|
className="fixed bottom-1 left-1 z-50 flex h-6 w-6 items-center justify-center rounded-full bg-gray-800 p-3 font-mono text-xs text-white"
|
|
>
|
|
<div className="block sm:hidden">xs</div>
|
|
<div className="hidden sm:block md:hidden">sm</div>
|
|
<div className="hidden md:block lg:hidden">md</div>
|
|
<div className="hidden lg:block xl:hidden">lg</div>
|
|
<div className="hidden xl:block 2xl:hidden">xl</div>
|
|
<div className="hidden 2xl:block">2xl</div>
|
|
</div>
|
|
)
|
|
}
|