Have content assume it's jsx/node
This commit is contained in:
parent
00f0ae4bbc
commit
3a15702907
@ -65,7 +65,7 @@ const Tooltip = ({ content, isSticky, position, tight, children }) => {
|
|||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{typeof content === 'function' ? content() : content}
|
{content}
|
||||||
<svg
|
<svg
|
||||||
className="absolute h-4 text-primary-dark stroke-secondary-main"
|
className="absolute h-4 text-primary-dark stroke-secondary-main"
|
||||||
style={arrowPositionStyle[position]}
|
style={arrowPositionStyle[position]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user