Closed EverStarck closed 3 years ago
<Dialog.Input style={{color: '#FFF'}} ... />
Warning: Failed prop type: Invalid props.style key `color` supplied to `DialogInput`. Bad object: { "color": "#FFF" } 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" ]
I'm using typescript, I don't know if this warning appears by it "react-native-dialog": 9.1.0
I just saw that I did not have the latest version (9.1.2), where the error no longer occurs
9.1.2
Code
Description
I'm using typescript, I don't know if this warning appears by it "react-native-dialog": 9.1.0