You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users are often using reusable components to render Tags with different colors (type) based on some status.
To achieve this, a TagType enum needs to be defined because we can not import it from carbon/react.
Could be nice to define and export a TagType containing all supported types and then import it so that we can use it in our interfaces, couple of examples below.
Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.
If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.
The problem
Users are often using reusable components to render Tags with different colors (type) based on some status.
To achieve this, a TagType enum needs to be defined because we can not import it from carbon/react.
For instance:
The solution
Could be nice to define and export a
TagType
containing all supported types and then import it so that we can use it in our interfaces, couple of examples below.Examples
Example of an interface for Props, with tagType
Application/PAL
No response
Business priority
Low Priority = release date is not dependent on fix or not upcoming
Available extra resources
I'm happy to contribute if this change can be useful.
Code of Conduct
The text was updated successfully, but these errors were encountered: