element-plus/packages/dropdown/index.ts

11 lines
280 B
TypeScript
Raw Normal View History

2020-08-28 11:44:04 +08:00
import { App } from 'vue'
import Dropdown from './src/dropdown.vue'
import DropdownItem from './src/dropdown-item.vue'
import DropdownMenu from './src/dropdown-menu.vue'
Dropdown.install = (app: App): void => {
2020-08-28 11:44:04 +08:00
app.component(Dropdown.name, Dropdown)
}
2020-10-29 17:28:26 +08:00
export default Dropdown