element-plus/packages/button/index.ts

11 lines
256 B
TypeScript
Raw Normal View History

2020-07-21 18:18:44 +08:00
import { App } from 'vue'
2020-08-04 11:20:52 +08:00
import Button from './src/button.vue'
import ButtonGroup from './src/button-group.vue'
export default (app: App): void => {
2020-07-21 18:18:44 +08:00
app.component(Button.name, Button)
2020-08-04 11:20:52 +08:00
app.component(ButtonGroup.name, ButtonGroup)
2020-07-21 18:18:44 +08:00
}
export { Button }