element-plus/packages/components/select/index.ts
2022-02-09 16:59:08 +08:00

16 lines
430 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
import Select from './src/select.vue'
import Option from './src/option.vue'
import OptionGroup from './src/option-group.vue'
export const ElSelect = withInstall(Select, {
Option,
OptionGroup,
})
export default ElSelect
export const ElOption = withNoopInstall(Option)
export const ElOptionGroup = withNoopInstall(OptionGroup)
export * from './src/token'