15 lines
667 B
TypeScript
15 lines
667 B
TypeScript
export function TailwindIndicator() {
|
|
if (process.env.NODE_ENV === "production") return null;
|
|
|
|
return (
|
|
<div className='fixed z-50 flex items-center justify-center p-3 font-mono text-xs text-white bg-gray-800 rounded-full bottom-1 left-1 size-6'>
|
|
<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>
|
|
);
|
|
}
|