Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backgroundColor has no effect on DismissibleBox #7108

Open
1 task done
nokSage opened this issue Nov 29, 2024 · 0 comments
Open
1 task done

backgroundColor has no effect on DismissibleBox #7108

nokSage opened this issue Nov 29, 2024 · 0 comments
Labels
Bug triage Triage Required

Comments

@nokSage
Copy link

nokSage commented Nov 29, 2024

Description

The backgroundColor prop has no effect on DismissibleBox. It looks like that it is accidentally exposed because normally one would prefer to use the variant prop to control the background colour instead.

Reproduction

https://stackblitz.com/edit/parsium-carbon-starter-2jcuzf?file=src%2FApp.tsx

Steps to reproduce

No response

JIRA ticket numbers (Sage only)

No response

Suggested solution

Remove backgroundColor from TS props definition and documentation for the DismissibleBox component

Carbon version

144.9.3

Design tokens version

No response

Relevant browsers

Chrome

Relevant OSs

MacOS

Additional context

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.
@nokSage nokSage added Bug triage Triage Required labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug triage Triage Required
Development

No branches or pull requests

1 participant