index.ts 365 B

12345678910111213
  1. import TimeSelect from './src/time-select.vue'
  2. import type { App } from 'vue'
  3. import type { SFCWithInstall } from '@element-plus/utils'
  4. TimeSelect.install = (app: App): void => {
  5. app.component(TimeSelect.name, TimeSelect)
  6. }
  7. const _TimeSelect = TimeSelect as SFCWithInstall<typeof TimeSelect>
  8. export default _TimeSelect
  9. export const ElTimeSelect = _TimeSelect