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}
|
||||
size={resolvedSize}
|
||||
color={color}
|
||||
style={flattened}
|
||||
style={flattened ?? undefined}
|
||||
testID={testID}
|
||||
/*
|
||||
* The SVG icons these replace are sized in raw points and never scaled
|
||||
|
||||
Reference in New Issue
Block a user