element-plus/packages/checkbox/index.ts

13 lines
382 B
TypeScript
Raw Normal View History

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