Skip to content

Include anchor tag in a Toast message #3947

Closed Answered by claudiachua
claudiachua asked this question in Q&A
Discussion options

You must be logged in to vote

Managed to figure it out, this is how I can add Anchor link into the Toast message.

      toaster.push({
        message: (  
        <Paragraph marginBottom="space0">
          Error, please contact help center. 
          <Anchor href="XXX">Contact support.</Anchor>
        </Paragraph>
        ),
        variant: "error",
      });

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by roxanagomez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants