mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
c7b8cf7e54
* refactor(components): [calendar] * Extract date-table logic code into a dedicated file. * chore: add an alias type export
12 lines
287 B
TypeScript
12 lines
287 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
import Calendar from './src/calendar.vue'
|
|
|
|
export const ElCalendar = withInstall(Calendar)
|
|
export default ElCalendar
|
|
|
|
export * from './src/calendar'
|
|
export type {
|
|
CalendarDateTableInstance,
|
|
DateTableInstance,
|
|
} from './src/instance'
|