feat: add disabled style in label
This commit is contained in:
parent
3e49b03129
commit
9a76ddfaa2
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { VariantProps, vcn } from "../shared";
|
import { VariantProps, vcn } from "../shared";
|
||||||
|
|
||||||
const [labelVariant, resolveLabelVariantProps] = vcn({
|
const [labelVariant, resolveLabelVariantProps] = vcn({
|
||||||
base: "",
|
base: "has-[input[disabled]]:brightness-50 has-[input[disabled]]:cursor-not-allowed",
|
||||||
variants: {
|
variants: {
|
||||||
direction: {
|
direction: {
|
||||||
vertical: "flex flex-col gap-2 justify-center items-start",
|
vertical: "flex flex-col gap-2 justify-center items-start",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user