Files
kkpab-site/frontend/components/icons.tsx
T

18 lines
436 B
TypeScript

import { FileText, Microscope, ShieldPlus, Stethoscope } from "lucide-react";
export function resolveIcon(name: string) {
const props = { size: 22, strokeWidth: 2 };
switch (name) {
case "microscope":
return <Microscope {...props} />;
case "stethoscope":
return <Stethoscope {...props} />;
case "file-text":
return <FileText {...props} />;
default:
return <ShieldPlus {...props} />;
}
}