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:
@@ -46,7 +46,7 @@ export function createNanoIcon(name: IconName) {
|
|||||||
name={name}
|
name={name}
|
||||||
size={resolvedSize}
|
size={resolvedSize}
|
||||||
color={color}
|
color={color}
|
||||||
style={flattened}
|
style={flattened ?? undefined}
|
||||||
testID={testID}
|
testID={testID}
|
||||||
/*
|
/*
|
||||||
* The SVG icons these replace are sized in raw points and never scaled
|
* The SVG icons these replace are sized in raw points and never scaled
|
||||||
|
|||||||
Reference in New Issue
Block a user