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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user