diff --git a/src/bootstrap/Switch.js b/src/bootstrap/Switch.js index de5180e..e101e0a 100644 --- a/src/bootstrap/Switch.js +++ b/src/bootstrap/Switch.js @@ -19,15 +19,16 @@ Switch.propTypes = { ]).isRequired, helpText: PropTypes.string, switchHeading: PropTypes.bool, + className: PropTypes.string, }; -function Switch({ label, helpText, switchHeading, ...props }) { +function Switch({ label, helpText, switchHeading, className, ...props }) { const uid = useUID(); return (