mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
refactor: Upgrade to React 17 (#31961)
This commit is contained in:
committed by
GitHub
parent
aa74ba3da2
commit
7e2b7941f3
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user