index.ts 561 B

123456789101112131415161718
  1. import { withInstall, withNoopInstall } from '@element-plus/utils'
  2. import Checkbox from './src/checkbox.vue'
  3. import CheckboxButton from './src/checkbox-button.vue'
  4. import CheckboxGroup from './src/checkbox-group.vue'
  5. export const ElCheckbox = withInstall(Checkbox, {
  6. CheckboxButton,
  7. CheckboxGroup,
  8. })
  9. export default ElCheckbox
  10. export const ElCheckboxButton = withNoopInstall(CheckboxButton)
  11. export const ElCheckboxGroup = withNoopInstall(CheckboxGroup)
  12. export * from './src/checkbox-group'
  13. export * from './src/checkbox'
  14. export * from './src/constants'