Files
Momento/memento-note/lib/notebook-icon.tsx
Sepehr Ramezani e4d4e23dc7 chore: clean up repo for public release
- Remove BMAD framework, IDE configs, dev screenshots, test files,
  internal docs, and backup files
- Rename keep-notes/ to memento-note/
- Update all references from keep-notes to memento-note
- Add Apache 2.0 license with Commons Clause (non-commercial restriction)
- Add clean .gitignore and .env.docker.example
2026-04-20 22:48:06 +02:00

37 lines
644 B
TypeScript

import {
Folder,
Briefcase,
FileText,
Zap,
BarChart3,
Globe,
Sparkles,
Book,
Heart,
Crown,
Music,
Building2,
Plane,
type LucideIcon,
} from 'lucide-react'
const ICON_MAP: Record<string, LucideIcon> = {
'folder': Folder,
'briefcase': Briefcase,
'document': FileText,
'lightning': Zap,
'chart': BarChart3,
'globe': Globe,
'sparkle': Sparkles,
'book': Book,
'heart': Heart,
'crown': Crown,
'music': Music,
'building': Building2,
'flight_takeoff': Plane,
}
export function getNotebookIcon(iconName: string | null | undefined): LucideIcon {
return ICON_MAP[iconName || 'folder'] || Folder
}