element-plus/packages/components/select-v2/index.ts

16 lines
357 B
TypeScript

import Select from './src/select.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
Select.install = (app: App): void => {
app.component(Select.name, Select)
}
const _Select = Select as SFCWithInstall<typeof Select>
export default _Select
export const ElSelectV2 = _Select
export * from './src/token'