import Radio from 'element-ui/lib/radio'
import 'element-ui/lib/theme-chalk/radio.css'
import RadioGroup from 'element-ui/lib/radio-group'
import 'element-ui/lib/theme-chalk/radio-group.css'
import RadioButton from 'element-ui/lib/radio-button'
import 'element-ui/lib/theme-chalk/radio-button.css'

Radio.install = (Vue) => {
  Vue.component('UiRadio', Radio)
  Vue.component('UiRadioGroup', RadioGroup)
  Vue.component('UiRadioButton', RadioButton)
}

export {
  Radio,
  RadioGroup,
  RadioButton
}

export default Radio
