element-plus/packages/components/button/index.ts
三咲智子 0327d2d0b2
refactor(components): refactor button (#3341)
* feat(utils): add buildProp

* chore: disable eslint rule

* chore: typescript use strict

* refactor(components): refactor button

* feat: add comment for buildProp
2021-09-12 19:38:48 +08:00

12 lines
310 B
TypeScript

import { withInstall } 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 = ButtonGroup
export default ElButton
export * from './src/button'