Skip to content

Card icon property does not take type null #3459

@sarahetter

Description

@sarahetter

The acceptable types for EuiCard are either a React Component or undefined. We're using a function to get the Icon component. Sometimes we (in Cloud) do not want to display an icon, which is typically done by returning null.

Can null be added as an accepted type?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions