element-plus/packages/components/time-select/index.ts
2022-02-09 16:59:08 +08:00

14 lines
368 B
TypeScript

import TimeSelect from './src/time-select.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils-v2'
TimeSelect.install = (app: App): void => {
app.component(TimeSelect.name, TimeSelect)
}
const _TimeSelect = TimeSelect as SFCWithInstall<typeof TimeSelect>
export default _TimeSelect
export const ElTimeSelect = _TimeSelect