Skip to content

Commit

Permalink
chore: add proptypes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagobrez committed Sep 29, 2023
1 parent 4f74105 commit b387ed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Tooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import BaseTooltip from './BaseTooltip';

const propTypes = {
...tooltipPropTypes,

/** Whether the actual UserDetailsTooltip should be rendered. If false, it's just going to return the children */
shouldRender: PropTypes.bool,
};

Expand Down
2 changes: 2 additions & 0 deletions src/components/UserDetailsTooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import BaseUserDetailsTooltip from './BaseUserDetailsTooltip';

const propTypes = {
...userDetailsTooltipPropTypes,

/** Whether the actual UserDetailsTooltip should be rendered. If false, it's just going to return the children */
shouldRender: PropTypes.bool,
};

Expand Down

0 comments on commit b387ed8

Please sign in to comment.