element-plus/packages/components/select/index.ts
jeremywu 3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00

16 lines
440 B
TypeScript

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'