2020-10-03 20:13:19 +08:00
|
|
|
import DatePicker from './src/date-picker'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
|
|
|
import type { App } from 'vue'
|
2022-02-11 11:03:15 +08:00
|
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
const _DatePicker = DatePicker as SFCWithInstall<typeof DatePicker>
|
2021-03-09 21:24:22 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
_DatePicker.install = (app: App) => {
|
2021-03-09 21:24:22 +08:00
|
|
|
app.component(_DatePicker.name, _DatePicker)
|
2020-10-03 20:13:19 +08:00
|
|
|
}
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-03-09 21:24:22 +08:00
|
|
|
export default _DatePicker
|
2021-08-24 13:36:48 +08:00
|
|
|
export const ElDatePicker = _DatePicker
|