element-plus/packages/dropdown/index.ts

12 lines
304 B
TypeScript
Raw Normal View History

2020-08-28 11:44:04 +08:00
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-08-28 11:44:04 +08:00
import Dropdown from './src/dropdown.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
const _Dropdown: SFCWithInstall<typeof Dropdown> = Dropdown
export default _Dropdown