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

18 lines
529 B
TypeScript
Raw Normal View History

import { withInstall, withNoopInstall } from '@element-plus/utils'
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)
export * from './src/checkbox-group'
export * from './src/checkbox'