mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-07 08:45:00 +00:00
Simplify fontSize extraction
This commit is contained in:
@@ -70,7 +70,7 @@ export function extractFont(prop) {
|
|||||||
fontVariant,
|
fontVariant,
|
||||||
fontWeight,
|
fontWeight,
|
||||||
fontStretch,
|
fontStretch,
|
||||||
fontSize: fontSize ? String(fontSize) : null,
|
fontSize,
|
||||||
fontFamily: extractSingleFontFamily(fontFamily),
|
fontFamily: extractSingleFontFamily(fontFamily),
|
||||||
textAnchor,
|
textAnchor,
|
||||||
textDecoration,
|
textDecoration,
|
||||||
|
|||||||
Reference in New Issue
Block a user