feat(tooltip): add new tooltip animation

This commit is contained in:
Paul Makles
2022-01-14 21:04:29 +00:00
parent f509acbe80
commit ddbef13a12
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ export default function Tooltip(props: Props) {
const { children, content, ...tippyProps } = props;
return (
<Tippy content={content} {...tippyProps}>
<Tippy content={content} animation="shift-away" {...tippyProps}>
{/*
// @ts-expect-error Type mis-match. */}
<div style={`display: flex;`}>{children}</div>