Have error when use Icon component
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Current behavior:
When I use Icon component, sometime I encounter error “view nested within a text must have a width and height”
Expected behavior:
It should not have error and crash app Steps to reproduce:
Use Icon component Related code:
Not applicable.
Other information:
OS, device, package version
samsung device
"react-native": "0.60.5"
"react": "16.9.0"
"@ui-kitten/eva-icons": "4.2.0-beta.2"
"@eva-design/eva": "1.1.0-beta.1"
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Why do I have an error when I try a multiple import of icons in ...
Try this: import { InterestsRounded as InterestsRoundedIcon, AccountCircleRounded as AccountCircleRoundedIcon, SettingsRounded as ...
Read more >Warnings and error icons on components - Cloud - 8.0
When a component is not properly defined or if the link to the next component does not exist yet, a red checked circle...
Read more >React Icon Component - Material UI - MUI
Guidance and suggestions for using icons with MUI.
Read more >Display Error Icons for Form Validation with ErrorProvider ...
Learn more about how to display error icons for form validation with the Windows Forms ErrorProvider component.
Read more >Icons - Lightning Design System
If you're using Lightning components, see this documentation. ... Custom icons have a rounded square shape and use a class on the container...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I solved my problem, the error fired when I wrap Text component with Icon component
Thank for your help.
On Wed, Sep 25, 2019 at 12:41 AM Artur Yorsh notifications@github.com wrote:
Please try refactoring to something like this as it looks like we were wrong about this guide The main point is to render
IconRegistry
beforeApplicationProvider
.