Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Sep 20, 2022
1 parent e14107a commit 5cb8a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Tooltip/Tooltip.d.ts
Expand Up @@ -162,7 +162,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
/**
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
*/
title: NonNullable<React.ReactNode>;
title: React.ReactNode;
/**
* The component used for the transition.
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Tooltip/Tooltip.js
Expand Up @@ -874,7 +874,7 @@ Tooltip.propTypes /* remove-proptypes */ = {
/**
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
*/
title: PropTypes /* @typescript-to-proptypes-ignore */.node,
title: PropTypes.node,
/**
* The component used for the transition.
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
Expand Down

0 comments on commit 5cb8a7a

Please sign in to comment.