mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
* Adding information about the starting balance * Adding information about the starting balance * chore: type fixes * fix: MDX build errors * chore: explicit typing * chore: improve typing for author metadata socials * chore: strict assertion --------- Co-authored-by: MSITE.TOP <admin@msite.top>
23 lines
722 B
TypeScript
23 lines
722 B
TypeScript
// @ts-nocheck
|
|
'use client'
|
|
|
|
import * as React from 'react'
|
|
import * as LabelPrimitive from '@radix-ui/react-label'
|
|
import { cva, type VariantProps } from 'class-variance-authority'
|
|
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const labelVariants = cva(
|
|
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
|
|
)
|
|
|
|
const Label = React.forwardRef<
|
|
React.ElementRef<typeof LabelPrimitive.Root>,
|
|
React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>
|
|
>(({ className, ...props }, ref) => (
|
|
<LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />
|
|
))
|
|
Label.displayName = LabelPrimitive.Root.displayName
|
|
|
|
export { Label }
|