@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
21 lines (18 loc) • 582 B
JavaScript
import { cn } from './chunk-ZD2QRAOX.js';
import { Label as Label$1 } from 'radix-ui';
import { jsx } from 'react/jsx-runtime';
function Label({ className, ...props }) {
return /* @__PURE__ */ jsx(
Label$1.Root,
{
"data-slot": "label",
className: cn(
"flex items-center gap-2 text-sm leading-none font-medium select-none",
"group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
className
),
...props
}
);
}
export { Label };