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