diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index 33016a52039a..b068a2f41ccc 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -6182,7 +6182,7 @@ Map { }, "children": Object { "isRequired": true, - "type": "string", + "type": "node", }, "className": Object { "type": "string", diff --git a/packages/react/src/components/TooltipDefinition/TooltipDefinition.js b/packages/react/src/components/TooltipDefinition/TooltipDefinition.js index 0248a9363be5..14478ac24a9e 100644 --- a/packages/react/src/components/TooltipDefinition/TooltipDefinition.js +++ b/packages/react/src/components/TooltipDefinition/TooltipDefinition.js @@ -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