mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-29 21:25:00 +00:00
[js] Add fontVariationSettings font prop/style/attribute support
This commit is contained in:
@@ -55,8 +55,9 @@ export function extractFont(props) {
|
||||
letterSpacing,
|
||||
wordSpacing,
|
||||
kerning,
|
||||
fontVariantLigatures,
|
||||
fontFeatureSettings,
|
||||
fontVariantLigatures,
|
||||
fontVariationSettings,
|
||||
font,
|
||||
} = props;
|
||||
|
||||
@@ -73,8 +74,9 @@ export function extractFont(props) {
|
||||
letterSpacing,
|
||||
wordSpacing,
|
||||
kerning,
|
||||
fontVariantLigatures,
|
||||
fontFeatureSettings,
|
||||
fontVariantLigatures,
|
||||
fontVariationSettings,
|
||||
});
|
||||
|
||||
const baseFont = typeof font === 'string' ? parseFontString(font) : font;
|
||||
|
||||
Reference in New Issue
Block a user