Skip to content

Multiple links in InfoBanner #335

Closed
@JanHamara

Description

@JanHamara

Describe the feature you'd like

Hello team, we currently have a need to render multiple links inside <InfoBanner /> for the purposes of document cross-checking automation on DMT validation flow. Example below.
Screenshot 2023-05-22 at 16 36 15

Describe alternatives you've considered

Imo we have 3 options here:

  • Refactor <InfoBanner> component to accept an array of links to render below the banner description. { linkUrl: string, linkLabel: string }[]
  • Refactor <InfoBanner> component to pass JSX with list of links setup via children prop
  • Create a snowflake in DMT for this purpose, if we don't want to integrate such feature into <InfoBanner> in our component library

Metadata

Metadata

Assignees

Labels

conversation neededIssues that may need to go to a broader conversation🔥 CriticalTo address asap

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions