Skip to content

Commit

Permalink
fix(TooltipDefinition): update children PropType (#7437)
Browse files Browse the repository at this point in the history
* fix(TooltipDefinition): allow nodes as children

* chore: update snapshots

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] authored Jan 15, 2021
1 parent 9ef4e89 commit e34214c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6182,7 +6182,7 @@ Map {
},
"children": Object {
"isRequired": true,
"type": "string",
"type": "node",
},
"className": Object {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ TooltipDefinition.propTypes = {
* Specify the tooltip trigger text that is rendered to the UI for the user to
* interact with in order to display the tooltip.
*/
children: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,

/**
* Specify an optional className to be applied to the container node
Expand Down

0 comments on commit e34214c

Please sign in to comment.