mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 06:03:58 -05:00
Update component definitions
This commit is contained in:
@@ -5,6 +5,7 @@ import MattrixwvSwitch from "./MattrixwvSwitch";
|
||||
|
||||
export default function LightSwitch({
|
||||
className,
|
||||
knobClassName,
|
||||
disabled,
|
||||
...props
|
||||
}: MattrixwvSwitchProps){
|
||||
@@ -20,6 +21,7 @@ export default function LightSwitch({
|
||||
}
|
||||
)}
|
||||
knobClassName={clsx(
|
||||
knobClassName,
|
||||
{
|
||||
"bg-black": !disabled,
|
||||
"bg-neutral-800": disabled
|
||||
|
||||
Reference in New Issue
Block a user