mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
18 lines
806 B
TypeScript
18 lines
806 B
TypeScript
// https://github.com/shadcn-ui/taxonomy/blob/main/components/tailwind-indicator.tsx#L1
|
|
|
|
export function TailwindIndicator() {
|
|
if (process.env.NODE_ENV === "production") return null;
|
|
|
|
return (
|
|
<div className="fixed bottom-5 left-5 z-50 flex h-6 w-6 items-center justify-center rounded-full bg-red-800 p-4 font-mono text-sm font-semibold border border-white text-white">
|
|
<div className="block sm:hidden">xs</div>
|
|
<div className="hidden sm:block md:hidden lg:hidden xl:hidden 2xl:hidden">
|
|
sm
|
|
</div>
|
|
<div className="hidden md:block lg:hidden xl:hidden 2xl:hidden">md</div>
|
|
<div className="hidden lg:block xl:hidden 2xl:hidden">lg</div>
|
|
<div className="hidden xl:block 2xl:hidden">xl</div>
|
|
<div className="hidden 2xl:block">2xl</div>
|
|
</div>
|
|
);
|
|
}
|