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

8 lines
200 B
TypeScript

import { withInstall } from '@element-plus/utils/with-install'
import Switch from './src/switch.vue'
export const ElSwitch = withInstall(Switch)
export default ElSwitch
export * from './src/switch'