1
0
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:
Jyoti Puri 2022-12-14 02:53:39 +05:30 committed by seaona
parent 1e156ebb94
commit 8d8fcdcf0e

View File

@ -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
*/