Update switch with suggestions
This commit is contained in:
@@ -30,7 +30,7 @@ const MattrixwvSwitch = forwardRef<HTMLButtonElement, MattrixwvSwitchProps>(({
|
|||||||
className,
|
className,
|
||||||
{
|
{
|
||||||
"cursor-pointer": !disabled,
|
"cursor-pointer": !disabled,
|
||||||
"cursor-default": disabled
|
"cursor-not-allowed": disabled
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
//Normal
|
//Normal
|
||||||
@@ -99,7 +99,7 @@ const MattrixwvSwitch = forwardRef<HTMLButtonElement, MattrixwvSwitchProps>(({
|
|||||||
className={clsx(
|
className={clsx(
|
||||||
{
|
{
|
||||||
"cursor-pointer": !disabled,
|
"cursor-pointer": !disabled,
|
||||||
"cursor-default": disabled
|
"cursor-not-allowed": disabled
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user