-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiIcon] - Error using the type 'download' #3543
Comments
Are you using this within Kibana or in something separate? |
I'm using It inside a kibana plugin. |
Two thoughts: The code snippet you provided has Second, It's possible that while you've specified a version of EUI with the download icon, the dynamic import nature of the icon is relying on an older version of EUI within Kibana to access it. If |
Hi @nicolapagni, I also notice that you're using the icon as The right code should be |
Sorry for the asterisks, I've clicked on the bold button from git. Following the tip's @chandlerprall I reload the entire node_module and then run yarn install from scratch. From google dev_tools console I can see this error: Failed prop type: Invalid prop Seeing the code of @miukimiu It seems the same.. uhmmm |
For safety, inside /node_modulers/@elastic/eui folder where I can find the definition of the download icon ? |
Just to give you some warning. I'm almost certain that Kibana will only use the EUI defined in it's root package.json file. We have an upgrade on the way in the next week, and at that point you should be able to use v24 in master. Using different versions of EUI in Kibana at the same time is not something we currently support. If you're in a hurry remember that |
@snide so what you said is since kibana 7.6.2 uses @elastic/eui 18.x.x, custom plugins (should or must) use the same version? To use 24.x.x I need to change the kibana version? |
Yes. And that's because EUI is globally used across kibana at a CSS layer as a giant blob. This is a known weakness in our build systems in kibana. |
Hi guys,
I'm using
"@elastic/eui": "^24.0.0"
.I've tryed to use this icon as action of an EuiBasicTable.
The following a snippet of code I used:
But as you can see the icon doesn't rendered correctly.
Thanks in advance,
Nicola
The text was updated successfully, but these errors were encountered: