mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
import { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
import Select from './src/select.vue'
|
|
import Option from './src/option.vue'
|
|
|
|
Select.install = (app: App): void => {
|
|
app.component(Select.name, Select)
|
|
}
|
|
|
|
const _Select: SFCWithInstall<typeof Select> = Select
|
|
|
|
export { Option }
|
|
export default _Select
|