Skip to content

How to insert line break in contents of tooltip #1121

Answered by mayank99
muthubentley asked this question in Q&A
Discussion options

You must be logged in to vote

hey @muthubentley, you can use html inside content to separate the lines.

<Tooltip
  content={
    <>
     <div>simple</div>
     <div>tooltip</div>
    </>
  }
>
  ...
</Tooltip>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@muthubentley
Comment options

Answer selected by muthubentley
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