Skip to content

Commit 003ea51

Browse files
committed
Fix SimpleTooltip component (bad TS declaration)
1 parent 95ef0e3 commit 003ea51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/components/dataDisplay/SimpleTooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Props = {
2121
* Displayed as an overlay within a `<div>` element.
2222
*/
2323
text: string;
24-
} & Partial<TooltipProps>;
24+
} & Partial<Omit<TooltipProps, 'children'>>;
2525

2626
/**
2727
* Tooltip with simplified props meant to be used from Markdown.

0 commit comments

Comments
 (0)