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 (
Render switch 1`] = `
Render switch 1`] = ` exports[` Render uncheked switch 1`] = `
Snapshot one module enabled. 1`] = ` +
+
+
+ Snapshot one module enabled. 1`] = ` +
+
+
+ Snapshot one module enabled. 1`] = ` +
+ +
+