1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix IconButton prop type (#9489)

* Fix IconButton prop type
This commit is contained in:
Erik Marks 2020-10-06 14:09:12 -07:00 committed by GitHub
parent 39d5bb73a7
commit 46bcba2d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,