element-plus/packages/select/index.ts

14 lines
342 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Select from './src/select.vue'
2020-11-27 11:15:20 +08:00
import Option from './src/option.vue'
Select.install = (app: App): void => {
app.component(Select.name, Select)
}
const _Select: SFCWithInstall<typeof Select> = Select
2020-11-27 11:15:20 +08:00
export { Option }
export default _Select