mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Validate missing prop types
This commit is contained in:
@@ -189,6 +189,15 @@ const Details = ({ profile, loading }) => {
|
||||
|
||||
Details.propTypes = {
|
||||
profile: PropTypes.object,
|
||||
loading: PropTypes.bool,
|
||||
};
|
||||
|
||||
ListItem.propTypes = {
|
||||
icon: PropTypes.node,
|
||||
title: PropTypes.node,
|
||||
value: PropTypes.node,
|
||||
link: PropTypes.string,
|
||||
skeleton: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default Details;
|
||||
|
||||
Reference in New Issue
Block a user