You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React may throw a warning related to issue #251 when undefined style
props are provided to its elements. While this is generally not an issue
in the real world, our customers may be annoyed by the warning message.
In this commit, we have implemented a typeguard to address this issue
when styling cloned elements.
- Resolve#251
Describe the bug
When I add
Image
component directly intostartElement
, An error occurred like below.I think that
cloneElement
in this line makes a problem. Sincecolor
prop is not supported in<Image/>
.To Reproduce
Steps to reproduce the behavior:
Add
<Image/>
component directly intostartElement
in [Button]`Additional context
To fix this problem temporality, Wrap Image component with View.
The text was updated successfully, but these errors were encountered: