diff --git a/src/common/Checkbox/Checkbox.js b/src/common/Checkbox/Checkbox.js index 856b33f77..07a66f063 100644 --- a/src/common/Checkbox/Checkbox.js +++ b/src/common/Checkbox/Checkbox.js @@ -5,7 +5,7 @@ const Icon = require('stremio-icons/dom'); const { Input } = require('stremio-navigation'); const styles = require('./styles'); -const Checkbox = React.forwardRef((props, ref) => { +const Checkbox = React.forwardRef(({ className, disabled = false, checked = false, children, ...props }, ref) => { const onClick = React.useCallback((event) => { event.preventDefault(); if (typeof props.onClick === 'function') { @@ -31,16 +31,16 @@ const Checkbox = React.forwardRef((props, ref) => { } }, [props.onMouseOut]); return ( -