<template>
  <base-input :label="label"
              :checked="checked"
              :item="item"
              v-on:input="passOn"
              :type="'checkbox'"
  ></base-input>
</template>

<script>
  import BaseInput from '@/components/inputs/BaseInput';

  export default {
    props: {
      label: String,
      checked: {
        type: Boolean
      },
      item: Object
    },

    components: {
      BaseInput
    },

    methods: {
      passOn() {
        this.$emit('input', ...arguments);
      }
    }
  }
</script>
