forked from abner/for-legacy-web
feat(tooltip): add new tooltip animation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user