Files
platform/src/workspaces/widgets/widget-registry.tsx
T

16 lines
864 B
TypeScript

import { Clock as ClockIcon, CloudSun, Timer, Target, StickyNote } from 'lucide-react';
import type { AppRegistryEntry } from '@/components/Workspace';
import { Clock } from './Clock/index';
import { Weather } from './Weather/index';
import { Pomodoro } from './Pomodoro/index';
import { DailyGoals } from './DailyGoals/index';
import { QuickNotes } from './QuickNotes/index';
export const widgetRegistry: Record<string, AppRegistryEntry> = {
'clock': { name: 'Clock', icon: ClockIcon, component: () => <Clock /> },
'weather': { name: 'Weather', icon: CloudSun, component: () => <Weather /> },
'pomodoro': { name: 'Pomodoro', icon: Timer, component: () => <Pomodoro /> },
'daily-goals': { name: 'Daily Goals', icon: Target, component: () => <DailyGoals /> },
'quick-notes': { name: 'Quick Notes', icon: StickyNote, component: () => <QuickNotes /> },
};