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

updated Proptypes for IconButton (#17797)

This commit is contained in:
Nidhi Kumari 2023-02-23 04:25:32 +05:30 committed by GitHub
parent 3437d7161f
commit 6892ab2bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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