14 lines
412 B
TypeScript
14 lines
412 B
TypeScript
import { App } from 'vue'
|
|
import VxeRadioButtonComponent from '../radio/src/button'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const RadioButton = Object.assign(VxeRadioButtonComponent, {
|
|
install: function (app: App) {
|
|
app.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
|
|
|
export default RadioButton
|