diff --git a/package.json b/package.json index 14f8b2a..21de5f6 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@storybook/addons": "^5.3.17", "@storybook/react": "^5.3.17", "babel-loader": "^8.1.0", - "helix-ui": "^0.23.0", + "helix-ui": "^0.24.0", "husky": "^4.2.5", "parcel-bundler": "^1.12.4", "prettier": "^2.0.4", diff --git a/src/Checkbox/index.js b/src/Checkbox/index.js index 3a8f373..2a0d643 100644 --- a/src/Checkbox/index.js +++ b/src/Checkbox/index.js @@ -1,14 +1,14 @@ import PropTypes from 'prop-types'; import React, { useRef, useEffect } from 'react'; -const Checkbox = ({ id, label, indeterminate, ...rest }) => { +const Checkbox = ({ id, label, indeterminate, className, ...rest }) => { const inputRef = useRef(); useEffect(() => { inputRef.current.indeterminate = indeterminate; }, [indeterminate]); return ( - +