element-plus/packages/radio/index.ts

12 lines
277 B
TypeScript
Raw Normal View History

2020-08-04 11:45:50 +08:00
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-08-05 23:30:12 +08:00
import Radio from './src/radio.vue'
2020-10-29 17:28:26 +08:00
Radio.install = (app: App): void => {
2020-08-04 11:45:50 +08:00
app.component(Radio.name, Radio)
}
2020-10-29 17:28:26 +08:00
const _Radio: SFCWithInstall<typeof Radio> = Radio
export default _Radio