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

12 lines
360 B
TypeScript

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