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

Warning when Card description is a JSX element #540

Open
allgood opened this issue Apr 26, 2024 · 0 comments
Open

Warning when Card description is a JSX element #540

allgood opened this issue Apr 26, 2024 · 0 comments

Comments

@allgood
Copy link

allgood commented Apr 26, 2024

Describe the bug
When the description property of Card is a JSX the code works but emits a warning on console

Warning: Failed prop type: Invalid prop description of type object supplied to Card, expected string.

To Reproduce
Just create a card with a JSX element as description property

Expected behavior
No warning on console

Desktop (please complete the following information):

  • OS: Linux
  • Browser chrome
  • Version 121.0.6167.184
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

1 participant