index.ts 405 B

123456789101112131415
  1. import Cascader from './src/cascader.vue'
  2. import type { App } from 'vue'
  3. import type { SFCWithInstall } from '@element-plus/utils'
  4. Cascader.install = (app: App): void => {
  5. app.component(Cascader.name, Cascader)
  6. }
  7. const _Cascader = Cascader as SFCWithInstall<typeof Cascader>
  8. export default _Cascader
  9. export const ElCascader = _Cascader
  10. export * from './src/cascader'
  11. export * from './src/instances'