mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-12-02 16:49:06 +00:00
Copilot's PR comment correctly surfaced a gap in the PR - the same type bug exists in the lucide-react-native project and wasn't fixed there. Same narrowing as the other framework contexts: `LucideProps` accepts `size?: string | number`, and `strokeWidth` resolves to react-native-svg's `NumberProp` (`string | number`), but the context and `LucideProviderProps` declared both as `number`. `Icon.ts` passes the context value straight through — `width: width ?? size ?? contextSize` — so nothing downstream needs a number.