diff --git a/src/bootstrap/CheckBox.js b/src/bootstrap/CheckBox.js index 0f7da40..7cf744d 100644 --- a/src/bootstrap/CheckBox.js +++ b/src/bootstrap/CheckBox.js @@ -17,17 +17,19 @@ CheckBox.propTypes = { helpText: PropTypes.string, /** Control if checkbox is clickable */ disabled: PropTypes.bool, + /** Additional class name */ + className: PropTypes.string, }; CheckBox.defaultProps = { disabled: false, }; -function CheckBox({ label, helpText, disabled, ...props }) { +function CheckBox({ label, helpText, disabled, className, ...props }) { const uid = useUID(); return ( -
+