Skip to content

Allow critical Banner variant to use onDismiss #5582

Description

@brphelps

Description

Currently, the Banner component doesn't allow onDismiss to be used if the critical variant is used.

We would like to be able to use the onDismiss button when using the critical variant.

Steps to reproduce

Add a Banner component and configure variant as critical and onDismiss as non null.

Version

v37.9.1

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

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions