Jensin commited on
Commit
7b79b0e
·
verified ·
1 Parent(s): dd1f50b

Upload components/ui/label.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/ui/label.jsx +16 -0
components/ui/label.jsx ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as React from "react"
2
+ import { cn } from "@/lib/utils"
3
+
4
+ const Label = React.forwardRef(({ className, ...props }, ref) => (
5
+ <label
6
+ ref={ref}
7
+ className={cn(
8
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
9
+ className
10
+ )}
11
+ {...props}
12
+ />
13
+ ))
14
+ Label.displayName = "Label"
15
+
16
+ export { Label }