2020-09-16 14:49:47 +08:00
|
|
|
import { App } from 'vue'
|
2020-12-23 14:07:15 +08:00
|
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
2020-09-16 14:49:47 +08:00
|
|
|
import Calendar from './src/index.vue'
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
Calendar.install = (app: App): void => {
|
2020-09-16 14:49:47 +08:00
|
|
|
app.component(Calendar.name, Calendar)
|
|
|
|
}
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
const _Calendar = Calendar as SFCWithInstall<typeof Calendar>
|
2020-12-23 14:07:15 +08:00
|
|
|
|
|
|
|
export default _Calendar
|
2021-08-24 13:36:48 +08:00
|
|
|
export const ElCalendar = _Calendar
|