This commit is contained in:
2024-07-22 18:00:58 +03:00
parent e9c2e82bc3
commit 4d2cafdf11
7 changed files with 72 additions and 36 deletions
@@ -0,0 +1,13 @@
<script>
import {uniqueId} from "lodash";
export let label = "";
let id = uniqueId();
</script>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id={id} checked>
<label class="form-check-label" for={id}>{label}</label>
</div>