mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
12 lines
344 B
TypeScript
12 lines
344 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
import Button from './src/button.vue'
|
|
import ButtonGroup from './src/button-group.vue'
|
|
|
|
export const ElButton = withInstall(Button, {
|
|
ButtonGroup,
|
|
})
|
|
export const ElButtonGroup = withNoopInstall(ButtonGroup)
|
|
export default ElButton
|
|
|
|
export * from './src/button'
|