laif-ds
Version:
Design System di Laif con componenti React basati su principi di Atomic Design
24 lines (23 loc) • 611 B
JavaScript
"use client";
import { jsx as o } from "react/jsx-runtime";
import { Root as a } from "../../node_modules/@radix-ui/react-label/dist/index.js";
import { cn as r } from "../../lib/utils.js";
function d({
className: e,
...t
}) {
return /* @__PURE__ */ o(
a,
{
"data-slot": "label",
className: r(
"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",
e
),
...t
}
);
}
export {
d as Label
};