element-plus/packages/components/button/index.ts
2022-02-09 16:59:08 +08:00

12 lines
334 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
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'