1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

add proptypes

This commit is contained in:
Matthias Kretschmann 2019-01-20 14:30:26 +01:00
parent 7048476d5f
commit e112e0c8b7
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -50,6 +50,11 @@ const LinkIcon = ({ title, type, ...props }) => {
}
}
LinkIcon.propTypes = {
title: PropTypes.string,
type: PropTypes.string
}
export default class ProjectLinks extends PureComponent {
static propTypes = {
links: PropTypes.array