We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fontSize
BaseToast
Hello,
I have seen a previous issue reported where this was fixed for text1Style however I am still seeing this issue for text2Style.
I am using version 1.4.9
The full warning message I am seeing is:
ERROR Warning: Failed prop type: Invalid props.text2Style key `fontSize` supplied to `BaseToast`. Bad object: { "fontSize": 16, "color": "#000" } Valid keys: [ "display", "width", "height", "start", "end", "top", "left", "right", "bottom", "minWidth", "maxWidth", "minHeight", "maxHeight", "margin", "marginVertical", "marginHorizontal", "marginTop", "marginBottom", "marginLeft", "marginRight", "marginStart", "marginEnd", "padding", "paddingVertical", "paddingHorizontal", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight", "paddingStart", "paddingEnd", "borderWidth", "borderTopWidth", "borderStartWidth", "borderEndWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "position", "flexDirection", "flexWrap", "justifyContent", "alignItems", "alignSelf", "alignContent", "overflow", "flex", "flexGrow", "flexShrink", "flexBasis", "aspectRatio", "zIndex", "direction", "shadowColor", "shadowOffset", "shadowOpacity", "shadowRadius", "transform", "transformMatrix", "decomposedMatrix", "scaleX", "scaleY", "rotation", "translateX", "translateY", "backfaceVisibility", "backgroundColor", "borderColor", "borderTopColor", "borderRightColor", "borderBottomColor", "borderLeftColor", "borderStartColor", "borderEndColor", "borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderTopStartRadius", "borderTopEndRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderBottomStartRadius", "borderBottomEndRadius", "borderStyle", "opacity", "elevation" ]
Thanks a lot
The text was updated successfully, but these errors were encountered:
There is a similiar problem with leadingIconStyle and trailingIconStyle, and probably more props, example:
leadingIconStyle
trailingIconStyle
Warning: Failed prop type: Invalid props.trailingIconStyle key `tintColor` supplied to `BaseToast`. Bad object: { "tintColor": "#FFFFFF" }
They have type ViewStyle which does not contain tintColor: ColorValue.
ViewStyle
tintColor: ColorValue
Sorry, something went wrong.
Still getting similar errors
Fixed in v2.0.0. Read the complete changelog.
v2.0.0
If you find any issues with the v2 implementation, feel free to reopen this issue. Thanks!
No branches or pull requests
Hello,
I have seen a previous issue reported where this was fixed for text1Style however I am still seeing this issue for text2Style.
I am using version 1.4.9
The full warning message I am seeing is:
Thanks a lot
The text was updated successfully, but these errors were encountered: