Skip to content
New issue

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

Cannot create React Component #5

Open
marijarahman opened this issue Aug 21, 2019 · 3 comments
Open

Cannot create React Component #5

marijarahman opened this issue Aug 21, 2019 · 3 comments

Comments

@marijarahman
Copy link

Right now when React Component is created as a wrapper for eva icon, it produces the following message: 'TypeError: Cannot read property 'toSvg' of undefined'.

Does anyone have idea why does this happen?

@dimitrisraptis96
Copy link
Owner

Could you provide a repo in order to reproduce the issue?

@marijarahman
Copy link
Author

marijarahman commented Aug 21, 2019

I'm unable to share the code, but it's pretty straightforward. Just a React Component and passing name as a prop. @dimitrisraptis96

@dimitrisraptis96
Copy link
Owner

This CodeSandbox implements the functionality you mentioned above and works without any error.

Have a look at the code and feel free to edit it in order to reproduce it without revealing your sensitive code. Otherwise, I can't see how I can help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants