- Added new UI components including Badge, Button, Card, Checkbox, Dialog, Footer, Input, Label, SubscriptionForm, Textarea, and Tooltip. - Implemented a new layout configuration with improved navigation and metadata handling. - Integrated third-party libraries for enhanced functionality (e.g., Radix UI, Lucide). - Updated global styles and added custom CSS variables for theming. - Introduced new pages for Changelog, Contact, Community, and GitHub redirection. - Updated package dependencies in package.json and pnpm-lock.yaml. - Added Open Graph image generation for better social media sharing. - Included favicon and application icons for branding.
24 lines
611 B
TypeScript
24 lines
611 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import * as LabelPrimitive from "@radix-ui/react-label"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
function Label({
|
|
className,
|
|
...props
|
|
}: React.ComponentProps<typeof LabelPrimitive.Root>) {
|
|
return (
|
|
<LabelPrimitive.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 }
|