<template>
  <b-field class="column mb-0 pb-0" :class="columnSize" :label="label">
    <b-switch type="is-info" v-model="cancelado" />
  </b-field>
</template>

<script>
export default {
  props: {
    columnSize: { typeof: String, required: false, default: '' },
    label: { typeof: String, required: true, default: '' },
  },
  data: () => {
    return { cancelado: false }
  },
  watch: {
    cancelado() {
      this.$emit('cancelado', this.cancelado)
    },
  },
}
</script>

<style scoped></style>
