element-plus/packages/radio-group/index.ts

12 lines
330 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import RadioGroup from '../radio/src/radio-group.vue'
RadioGroup.install = (app: App): void => {
app.component(RadioGroup.name, RadioGroup)
}
const _RadioGroup: SFCWithInstall<typeof RadioGroup> = RadioGroup
export default _RadioGroup