From 6892ab2bffd3dad602abe8656e21919603a849e2 Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Thu, 23 Feb 2023 04:25:32 +0530 Subject: [PATCH] updated Proptypes for IconButton (#17797) --- ui/components/ui/icon-button/icon-button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/ui/icon-button/icon-button.js b/ui/components/ui/icon-button/icon-button.js index d29c6736e..b0a5b1b25 100644 --- a/ui/components/ui/icon-button/icon-button.js +++ b/ui/components/ui/icon-button/icon-button.js @@ -35,7 +35,7 @@ export default function IconButton({ IconButton.propTypes = { onClick: PropTypes.func.isRequired, - Icon: PropTypes.func.isRequired, + Icon: PropTypes.object.isRequired, disabled: PropTypes.bool, label: PropTypes.string.isRequired, tooltipRender: PropTypes.func,