fix(nixserver): widen SectionCard icon prop to accept Lucide components

Lucide icons type size as string | number but SectionCardProps declared
size as number only, causing TS2322 and failing the nixserver build.
This commit is contained in:
NixReaper
2026-04-12 04:51:10 -05:00
parent 17b0becc82
commit f9352617b0
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ interface SectionCardProps {
label: string
description?: string
to: string
icon?: ComponentType<{ size?: number; className?: string }>
icon?: ComponentType<{ size?: number | string; className?: string }>
comingSoon?: boolean
}