element-plus/packages/components/checkbox/index.ts
2022-02-09 16:59:08 +08:00

15 lines
463 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
import Checkbox from './src/checkbox.vue'
import CheckboxButton from './src/checkbox-button.vue'
import CheckboxGroup from './src/checkbox-group.vue'
export const ElCheckbox = withInstall(Checkbox, {
CheckboxButton,
CheckboxGroup,
})
export default ElCheckbox
export const ElCheckboxButton = withNoopInstall(CheckboxButton)
export const ElCheckboxGroup = withNoopInstall(CheckboxGroup)