element-plus
Version:
A Component Library for Vue3.0
12 lines (8 loc) • 339 B
text/typescript
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import RadioButton from '../radio/src/radio-button.vue'
RadioButton.install = (app: App): void => {
app.component(RadioButton.name, RadioButton)
}
const _RadioButton: SFCWithInstall<typeof RadioButton> = RadioButton
export default _RadioButton