Removed margin top of the toggle component (#1120)

This commit is contained in:
Amit Wani 2021-10-17 15:12:18 +05:30 committed by GitHub
parent 37f9e3c4a5
commit 1c9c1afb08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
import React from 'react';
export default ({ defaultChecked, onChange }) => {
return (
<label className="form-switch mt-3">
<label className="form-switch">
<input className="form-check-input" type="checkbox" defaultChecked={defaultChecked} onChange={onChange} />
</label>
);