File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/ui-components/src/Common/Switch Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ type SwitchProps = SwitchPrimitive.SwitchProps & {
88 label ?: string ;
99 checked ?: boolean ;
1010 onCheckedChange ?: ( checked : boolean ) => void ;
11- thumbClassname ?: string ;
11+ thumbClassName ?: string ;
1212} ;
1313
1414const Switch : FC < PropsWithChildren < SwitchProps > > = ( {
1515 label,
1616 checked,
1717 onCheckedChange,
1818 className,
19- thumbClassname ,
19+ thumbClassName ,
2020 ...props
2121} ) => {
2222 const id = useId ( ) ;
@@ -36,7 +36,7 @@ const Switch: FC<PropsWithChildren<SwitchProps>> = ({
3636 { ...props }
3737 >
3838 < SwitchPrimitive . Thumb
39- className = { classNames ( styles . thumb , thumbClassname ) }
39+ className = { classNames ( styles . thumb , thumbClassName ) }
4040 />
4141 </ SwitchPrimitive . Root >
4242 </ div >
You can’t perform that action at this time.
0 commit comments