react-native-vector-icons
react-native-vector-icons copied to clipboard
fontweight is always normal
- [x] Review the documentation: https://github.com/oblador/react-native-vector-icons
- [x] Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues
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 <Icon> 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