xyyd-fatfox/src/widgets/calendar/index.ts

30 lines
510 B
TypeScript

import type { Widget } from '..'
export default {
name: 'calendar',
label: '日历',
description: '日历信息',
icon: '/icons/calendarIcon.png',
modal: () => import('./Modal'),
list: [
{
w: 2,
h: 1,
label: '小',
component: () => import('./Small')
},
{
w: 2,
h: 2,
label: '中',
component: () => import('./Middle')
},
{
w: 4,
h: 2,
label: '大',
component: () => import('./Large')
}
]
} as Widget