mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
d96470f9d2
* refactor: checkbox switch to script-setup syntax * refactor: checkbox use useSizeProps and edit test
18 lines
528 B
TypeScript
18 lines
528 B
TypeScript
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'
|
|
export * from './src/checkbox.type'
|