mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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
|