Skip to content

Bug - Card - Warning is raised for a false positive #9417

@thatblindgeye

Description

@thatblindgeye

Describe the problem
The new clickable/selectable Card variants throw a warning when the actions prop is passed and neither isClickable or isSelectable is passed. The warning should only be raised when actions is passed and either of the other two props are passed.

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

Expected behavior
A clear and concise description of the expected behavior.

Is this issue blocking you?
List the workaround if there is one.

Screenshots
If applicable, add screenshots to help explain the issue.

What is your environment?

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

What is your product and what release date are you targeting?

Any other information?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions