mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
15 lines
473 B
TypeScript
15 lines
473 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
|
|
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)
|