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
+7
View File
@@ -6,6 +6,13 @@ Pre-1.0 versions treat MINOR as feature releases and PATCH as bug fixes.
---
## [0.6.4] — 2026-04-12
### Bug Fixes
- **`SectionCard.tsx` TypeScript build error** — `icon` prop typed as `ComponentType<{ size?: number }>` but Lucide icons declare `size?: string | number`. Widened the prop type to `size?: number | string` to match Lucide's `LucideProps`.
---
## [0.6.3] — 2026-04-12
### Bug Fixes