Skip to content

Commit

Permalink
Fix SimpleTooltip component (bad TS declaration)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Aug 23, 2021
1 parent 95ef0e3 commit 003ea51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/components/dataDisplay/SimpleTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Props = {
* Displayed as an overlay within a `<div>` element.
*/
text: string;
} & Partial<TooltipProps>;
} & Partial<Omit<TooltipProps, 'children'>>;

/**
* Tooltip with simplified props meant to be used from Markdown.
Expand Down

0 comments on commit 003ea51

Please sign in to comment.