refactor: Upgrade to React 17 (#31961)

This commit is contained in:
Kamil Gabryjelski
2025-01-28 16:44:42 +01:00
committed by GitHub
parent aa74ba3da2
commit 7e2b7941f3
101 changed files with 18988 additions and 61350 deletions

View File

@@ -26,12 +26,12 @@ import {
export type TooltipPlacement = AntdTooltipPlacement;
export type TooltipProps = AntdTooltipProps;
export const Tooltip = (props: TooltipProps) => (
export const Tooltip = ({ overlayStyle, ...props }: TooltipProps) => (
<>
<AntdTooltip
overlayInnerStyle={{
overflow: 'hidden',
textOverflow: 'ellipsis',
styles={{
body: { overflow: 'hidden', textOverflow: 'ellipsis' },
root: overlayStyle ?? {},
}}
color={`${supersetTheme.colors.grayscale.dark2}e6`}
{...props}