@loke/design-system
Version:
A design system with individually importable components
3 lines (2 loc) • 485 B
JavaScript
"use client";
import{cn}from"@loke/design-system/cn";import*as LabelPrimitive from"@loke/ui/label";import{forwardRef}from"react";import{jsx}from"react/jsx-runtime";var Label2=forwardRef(({className,...props},ref)=>jsx(LabelPrimitive.Label,{className:cn("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",className),"data-slot":"label",ref,...props}));Label2.displayName=LabelPrimitive.Label.displayName;export{LabelPrimitive,Label2 as Label};