Fix typecheck: coalesce null from StyleSheet.flatten before passing to NanoIcon

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Tomek Zawadzki
2026-08-31 13:45:17 +02:00
parent 54f78ab1ff
commit 2193e59737
+1 -1
View File
@@ -46,7 +46,7 @@ export function createNanoIcon(name: IconName) {
name={name}
size={resolvedSize}
color={color}
style={flattened}
style={flattened ?? undefined}
testID={testID}
/*
* The SVG icons these replace are sized in raw points and never scaled