Expected style "fontSize: 14" to contain units warning from styled components
rahmanharoon opened this issue · 2 comments
rahmanharoon commented
duongquang1611 commented
I added the 'px' suffix after the fontSize in the file node_modules/react-native-animated-nav-tab-bar/dist/lib/index.js (line 193) and the warning was gone.
Here is the code after adding
var Label = Styled__default["default"](reactNative.Animated.Text)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n\tfontSize: ", "px;\n\tcolor: ", ";\n\tmargin-left: ", "px;\n"], ["\n\tfontSize: ", "px;\n\tcolor: ", ";\n\tmargin-left: ", "px;\n"])), function (p) {
torgeadelin commented
Fixed, please update to 3.1.8