element-plus/packages/checkbox/index.ts
2020-10-29 19:37:18 +08:00

13 lines
413 B
TypeScript

import { App } from 'vue'
import Checkbox from './src/checkbox.vue'
import CheckboxButton from './src/checkbox-button.vue'
import CheckboxGroup from './src/checkbox-group.vue'
export default (app: App): void => {
app.component(Checkbox.name, Checkbox)
app.component(CheckboxButton.name, CheckboxButton)
app.component(CheckboxGroup.name, CheckboxGroup)
}
export { Checkbox, CheckboxButton, CheckboxGroup }