mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
16 lines
456 B
TypeScript
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'
|