element-plus/packages/radio/index.ts

13 lines
368 B
TypeScript
Raw Normal View History

2020-08-04 11:45:50 +08:00
import { App } from 'vue'
2020-08-05 23:30:12 +08:00
import Radio from './src/radio.vue'
import RadioGroup from './src/radio-group.vue'
import RadioButton from './src/radio-button.vue'
2020-10-29 17:28:26 +08:00
2020-08-04 11:45:50 +08:00
export default (app: App): void => {
app.component(Radio.name, Radio)
2020-08-05 23:30:12 +08:00
app.component(RadioGroup.name, RadioGroup)
app.component(RadioButton.name, RadioButton)
2020-08-04 11:45:50 +08:00
}
2020-10-29 17:28:26 +08:00
export { Radio, RadioGroup, RadioButton }