element-plus/packages/components/radio/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
456 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
import Radio from './src/radio.vue'
import RadioButton from './src/radio-button.vue'
import RadioGroup from './src/radio-group.vue'
export const ElRadio = withInstall(Radio, {
RadioButton,
RadioGroup,
})
export default ElRadio
export const ElRadioGroup = withNoopInstall(RadioGroup)
export const ElRadioButton = withNoopInstall(RadioButton)
export * from './src/token'