Prettier support
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
import React from 'react';
|
||||
import './CheckBox.css';
|
||||
|
||||
const CheckBox = props => {
|
||||
const CheckBox = (props) => {
|
||||
return (
|
||||
<div className={'CheckBoxOwner'}>
|
||||
<label className='CheckBoxLabel'>{props.label}
|
||||
<input checked={JSON.parse(props.checked)}
|
||||
autoFocus={props.autoFocus}
|
||||
disabled={props.disabled}
|
||||
onChange={props.changed}
|
||||
type='checkbox'/>
|
||||
<span className='CheckBoxCheckMark'/>
|
||||
<label className="CheckBoxLabel">
|
||||
{props.label}
|
||||
<input
|
||||
checked={JSON.parse(props.checked)}
|
||||
autoFocus={props.autoFocus}
|
||||
disabled={props.disabled}
|
||||
onChange={props.changed}
|
||||
type="checkbox"
|
||||
/>
|
||||
<span className="CheckBoxCheckMark" />
|
||||
</label>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user