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

16 lines
440 B
TypeScript
Raw Normal View History

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
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'