Validate missing prop types

This commit is contained in:
Ariful Alam
2022-03-20 01:36:43 +06:00
parent a2ada305a7
commit ec458191fb
11 changed files with 63 additions and 8 deletions

View File

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