|
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from 'class-variance-authority'
|
|
|
import { forwardRef } from 'react'
|
|
import { forwardRef } from 'react'
|
|
|
|
|
|
|
|
const labelVariants = cva(
|
|
const labelVariants = cva(
|
|
|
- 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
|
|
|
|
|
|
|
+ 'text-sm font-medium',
|
|
|
{
|
|
{
|
|
|
variants: {
|
|
variants: {
|
|
|
variant: {
|
|
variant: {
|
|
@@ -36,8 +36,6 @@ export interface LabelProps {
|
|
|
|
|
|
|
|
const Label = forwardRef<HTMLLabelElement, LabelProps>(
|
|
const Label = forwardRef<HTMLLabelElement, LabelProps>(
|
|
|
({ className, variant, size, children, required, htmlFor, ...props }, ref) => {
|
|
({ className, variant, size, children, required, htmlFor, ...props }, ref) => {
|
|
|
- // console.log(labelVariants({ variant, size, className }))
|
|
|
|
|
- // console.log(cn(labelVariants({ variant, size, className })))
|
|
|
|
|
return (
|
|
return (
|
|
|
<View className="mb-2">
|
|
<View className="mb-2">
|
|
|
<Text
|
|
<Text
|