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

Icon component does not support null value in tagName prop despite documentation and types say it does #6974

Closed
alhimik45 opened this issue Sep 12, 2024 · 0 comments · Fixed by #6981

Comments

@alhimik45
Copy link

Environment

  • Package version(s): "@blueprintjs/core": "^5.12.0"
  • Operating System: Arch Linux
  • Browser name and version: Firefox 129.0.2

Code Sandbox

Link to a minimal repro (fork this code sandbox): https://codesandbox.io/p/devbox/magical-dream-5fjckr

Actual behavior

Error in console Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: null.

Expected behavior

Icon rendered without span wrapper

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

Successfully merging a pull request may close this issue.

1 participant