<script>
export default {
  props: {
    variant: {type: String, default: "primary"},
    is_disabled: {type: Boolean, default: false},
    size: {type: String, default: "md"},
    value : {type : Boolean, default : true},
    unchecked_value: {default: false},
  },
  watch : {
    value: function (value){
      this.$emit("input", value)
    }
  }
}
</script>
<template>
    <b-form-checkbox switch :unchecked-value="unchecked_value" v-model="value" :size="size"
    ></b-form-checkbox>
</template>