<template>
  <base-input
    :label="label"
    :checked="checked"
    :item="item"
    :type="'radiobutton'"
    @input="passOn"
  />
</template>

<script>
import BaseInput from '@/components/ui/BaseInput.vue';

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

  components: {
    BaseInput,
  },

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