@shopify/shop-minis-react
Version:
React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)
24 lines (23 loc) • 771 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { cn as a } from "../../lib/utils.js";
import { Root as r } from "../../node_modules/.pnpm/@radix-ui_react-label@2.1.7_@types_react-dom@19.1.6_@types_react@19.1.6__@types_react@19.1.6__a5hm3akpfjy2hepxrptadu7t6e/node_modules/@radix-ui/react-label/dist/index.js";
function l({
className: e,
...t
}) {
return /* @__PURE__ */ o(
r,
{
"data-slot": "label",
className: a(
"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 {
l as Label
};
//# sourceMappingURL=label.js.map