Commit dab070e2 by Sarah Fischmann

setup checkbox

parent 7ffa7cb7
...@@ -27,7 +27,7 @@ class CheckBox extends React.Component { ...@@ -27,7 +27,7 @@ class CheckBox extends React.Component {
render() { render() {
const props = { ...this.props }; const props = { ...this.props };
return ( return (
<form> <form>
<label htmlFor={props.checkLabel} className="form-check-label"> <label htmlFor={props.checkLabel} className="form-check-label">
......
...@@ -132,6 +132,6 @@ storiesOf('CheckBox', module) ...@@ -132,6 +132,6 @@ storiesOf('CheckBox', module)
name="checkbox" name="checkbox"
label="CheckBox" label="CheckBox"
describedBy="checkbox" describedBy="checkbox"
checkLabel="check me out" checkLabel="check me out!"
/> />
)); ));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment