diff --git a/react/features/base/ui/components/web/Switch.tsx b/react/features/base/ui/components/web/Switch.tsx index 0f9f2c3a1a..4baef2a2ae 100644 --- a/react/features/base/ui/components/web/Switch.tsx +++ b/react/features/base/ui/components/web/Switch.tsx @@ -7,6 +7,8 @@ import { ISwitchProps } from '../types'; interface IProps extends ISwitchProps { + className?: string; + /** * Id of the toggle. */ @@ -78,7 +80,7 @@ const useStyles = makeStyles()((theme: Theme) => { }; }); -const Switch = ({ id, checked, disabled, onChange }: IProps) => { +const Switch = ({ className, id, checked, disabled, onChange }: IProps) => { const { classes: styles, cx } = useStyles(); const isMobile = isMobileBrowser(); @@ -89,7 +91,7 @@ const Switch = ({ id, checked, disabled, onChange }: IProps) => { return (