Open sirpy opened 3 years ago
react-native-web
the create-icon-set.js contains code that always override some font styles https://github.com/oblador/react-native-vector-icons/issues/1188#issuecomment-737722786 so fontWeight and fontStyle are always normal and not possible to modify by passing style to component is this intentional? maybe add comment in code if so
const styleOverrides = { fontFamily: fontReference, fontWeight: 'normal', fontStyle: 'normal', }; props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];
bump
Environment
react-native-web
Description
the create-icon-set.js contains code that always override some font styles https://github.com/oblador/react-native-vector-icons/issues/1188#issuecomment-737722786 so fontWeight and fontStyle are always normal and not possible to modify by passing style to component
is this intentional?
maybe add comment in code if so