Have content assume it's jsx/node
This commit is contained in:
1 parent
00f0ae4bbc
commit
3a15702907
1 file changed
+1
-1
@@ -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]}
|
||||||
|
|||||||
Reference in new issue
Block a user