listado de planes exitoso

This commit is contained in:
2026-01-13 11:52:57 -06:00
parent 268d83fb4b
commit 55c37b83b4
9 changed files with 1688 additions and 7793 deletions

View File

@@ -0,0 +1,10 @@
// src/features/planes/utils/icon-utils.ts
import * as Icons from "lucide-react";
import { BookOpen } from "lucide-react";
export const getIconByName = (iconName: string | null) => {
if (!iconName) return BookOpen;
// "as any" es necesario aquí porque el string es dinámico
const Icon = (Icons as any)[iconName];
return Icon || BookOpen;
};