<template>
  <base-input
    :label="label"
    :checked="checked"
    :item="item"
    :type="'radiobutton'"
    @input="passOn"
  />
</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>
