Merge version_1_1780754009380 into main #4
@@ -1,6 +1,6 @@
|
||||
import { LucideIcon, icons } from 'lucide-react';
|
||||
|
||||
export default function resolveIcon(iconName: string): LucideIcon | null {
|
||||
export function resolveIcon(iconName: string): LucideIcon | null {
|
||||
const IconComponent = icons[iconName as keyof typeof icons];
|
||||
if (IconComponent) {
|
||||
return IconComponent as LucideIcon;
|
||||
|
||||
Reference in New Issue
Block a user