diff --git a/packages/grafana-ui/src/components/Forms/Checkbox.tsx b/packages/grafana-ui/src/components/Forms/Checkbox.tsx index ea704c4bced..b446b46e19e 100644 --- a/packages/grafana-ui/src/components/Forms/Checkbox.tsx +++ b/packages/grafana-ui/src/components/Forms/Checkbox.tsx @@ -93,7 +93,7 @@ export const getCheckboxStyles = stylesFactory((theme: GrafanaTheme) => { }); export const Checkbox = React.forwardRef( - ({ label, description, value, onChange, disabled, ...inputProps }, ref) => { + ({ label, description, value, onChange, disabled, className, ...inputProps }, ref) => { const theme = useTheme(); const handleOnChange = useCallback( (e: React.ChangeEvent) => { @@ -106,7 +106,7 @@ export const Checkbox = React.forwardRef( const styles = getCheckboxStyles(theme); return ( -