index.ts 544 B

123456789101112131415161718
  1. import { withInstall, withNoopInstall } from '@element-plus/utils'
  2. import Radio from './src/radio.vue'
  3. import RadioButton from './src/radio-button.vue'
  4. import RadioGroup from './src/radio-group.vue'
  5. export const ElRadio = withInstall(Radio, {
  6. RadioButton,
  7. RadioGroup,
  8. })
  9. export default ElRadio
  10. export const ElRadioGroup = withNoopInstall(RadioGroup)
  11. export const ElRadioButton = withNoopInstall(RadioButton)
  12. export * from './src/radio'
  13. export * from './src/radio-group'
  14. export * from './src/radio-button'
  15. export * from './src/constants'