From 46bcba2d638c0a5620d97a245c15c2935c5f8f64 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 6 Oct 2020 14:09:12 -0700 Subject: [PATCH] Fix IconButton prop type (#9489) * Fix IconButton prop type --- ui/app/components/ui/icon-button/icon-button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/ui/icon-button/icon-button.js b/ui/app/components/ui/icon-button/icon-button.js index 400fbc8f5..4b19d1471 100644 --- a/ui/app/components/ui/icon-button/icon-button.js +++ b/ui/app/components/ui/icon-button/icon-button.js @@ -28,7 +28,7 @@ export default function IconButton ({ onClick, Icon, disabled, label, tooltipRen IconButton.propTypes = { onClick: PropTypes.func.isRequired, - Icon: PropTypes.element.isRequired, + Icon: PropTypes.func.isRequired, disabled: PropTypes.bool, label: PropTypes.string.isRequired, tooltipRender: PropTypes.func,