<script>
    import { uniqueId } from "lodash";
    export let label;
    export let value;
    let id = uniqueId();
</script>

<div class="form-check">
    <input
        value=""
        class="form-check-input"
        type="checkbox"
        bind:checked={value}
        id={id}
    />
    <label class="form-check-label" for={id}>
        {label}
    </label>
</div>

