element-plus
Version:
A Component Library for Vue3.0
12 lines (8 loc) • 323 B
text/typescript
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import TimeSelect from './src/time-select.vue'
TimeSelect.install = (app: App): void => {
app.component(TimeSelect.name, TimeSelect)
}
const _TimeSelect: SFCWithInstall<typeof TimeSelect> = TimeSelect
export default _TimeSelect