use correct proptype
This commit is contained in:
1 parent
ebc8a49f98
commit
dfbc0ca2e8
1 file changed
+1
-1
@@ -132,7 +132,7 @@ StatBox.propTypes = {
|
|||||||
gradient: PropTypes.bool,
|
gradient: PropTypes.bool,
|
||||||
status: PropTypes.string,
|
status: PropTypes.string,
|
||||||
sx: PropTypes.object,
|
sx: PropTypes.object,
|
||||||
icon: PropTypes.node,
|
icon: PropTypes.elementType,
|
||||||
img: PropTypes.node,
|
img: PropTypes.node,
|
||||||
alt: PropTypes.string,
|
alt: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user