element-plus/packages/components/time-select/index.ts

14 lines
368 B
TypeScript
Raw Normal View History

import TimeSelect from './src/time-select.vue'
2020-10-29 17:28:26 +08:00
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