Skip to content

Warning when Card description is a JSX element #540

Description

@allgood

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions