2020-10-03 19:07:02 +08:00
|
|
|
import { App } from 'vue'
|
2020-12-23 14:07:15 +08:00
|
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
2020-11-20 20:24:16 +08:00
|
|
|
import Select from './src/select.vue'
|
2020-11-27 11:15:20 +08:00
|
|
|
import Option from './src/option.vue'
|
2020-10-03 19:07:02 +08:00
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
Select.install = (app: App): void => {
|
|
|
|
app.component(Select.name, Select)
|
2020-10-03 19:07:02 +08:00
|
|
|
}
|
2020-10-04 19:57:49 +08:00
|
|
|
|
2020-12-23 14:07:15 +08:00
|
|
|
const _Select: SFCWithInstall<typeof Select> = Select
|
|
|
|
|
2020-11-27 11:15:20 +08:00
|
|
|
export { Option }
|
2020-12-23 14:07:15 +08:00
|
|
|
export default _Select
|