mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
ButtonIcon: fix react component proptype (#16942)
This commit is contained in:
parent
e83111cc7e
commit
dc5a9f967d
@ -85,7 +85,7 @@ ButtonIcon.propTypes = {
|
||||
/**
|
||||
* The name of the icon to display. Should be one of ICON_NAMES
|
||||
*/
|
||||
iconName: PropTypes.oneOf(ICON_NAMES).isRequired,
|
||||
iconName: PropTypes.oneOf(Object.values(ICON_NAMES)).isRequired,
|
||||
/**
|
||||
* iconProps accepts all the props from Icon
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user