fix: rebase glitch

This commit is contained in:
DarkSky
2022-08-01 02:15:25 +08:00
parent 36d8c0493d
commit d7a5809861
10 changed files with 34 additions and 40 deletions

View File

@@ -20,7 +20,7 @@ export const Tooltip = forwardRef<
>((props, ref) => {
const { content, placement = 'top-start' } = props;
const style = useTooltipStyle();
// 如果没有内容,则永远隐藏
// If there is no content, hide forever
const visibleProp = content ? {} : { visible: false };
return (
<Popper