[MAILPOET-2773]
This commit is contained in:
Ján Mikláš
2020-05-20 08:41:07 +02:00
committed by Veljko V
parent 1146c37665
commit 6864fc0694
5 changed files with 12 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ const Toggle = ({
onCheck,
...attributes
}: Props) => (
<div
<label
className={
classnames({
'mailpoet-form-toggle': true,
@@ -25,7 +25,7 @@ const Toggle = ({
{...attributes}
/>
<span className="mailpoet-form-toggle-control" />
</div>
</label>
);
export default Toggle;