Skip to content

StateLabel does not render if the status prop is undefined #2955

Description

@mperrotti

Description

status is typed as an optional prop for StateLabel, but the component will not render at all if it's not passed

I'd expect status to be a required prop if it cannot in fact be left blank.

Steps to reproduce

  • Render <StateLabel>Label</StateLabel>
  • See that it doesn't render

Version

v35.20.0

Browser

No response

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions