import asyncLoader from '@/utils/asyncLoader' import type { Widget } from '..' export default { name: 'notepad', label: '记事本', description: '记事本', icon: '/tab/icons/note_pad_icon.png', modal: asyncLoader(() => import('./Modal')), list: [ { w: 2, h: 1, label: '小', component: asyncLoader(() => import('./Small')) }, { w: 2, h: 2, label: '中', component: asyncLoader(() => import('./Middle')) }, { w: 4, h: 2, label: '大', component: asyncLoader(() => import('./Large')) } ] } as Widget