add missing props declarations

This commit is contained in:
Ben Wheeler 2019-07-21 21:11:57 -04:00
parent 87c1bc5858
commit 1757f28a5e
2 changed files with 12 additions and 2 deletions

View file

@ -53,7 +53,12 @@ const Grid = props => (
Grid.propTypes = { Grid.propTypes = {
className: PropTypes.string, className: PropTypes.string,
itemType: PropTypes.string, itemType: PropTypes.string,
items: PropTypes.arrayOf(PropTypes.object) items: PropTypes.arrayOf(PropTypes.object),
showAvatar: PropTypes.bool,
showFavorites: PropTypes.bool,
showLoves: PropTypes.bool,
showRemixes: PropTypes.bool,
showViews: PropTypes.bool
}; };
Grid.defaultProps = { Grid.defaultProps = {

View file

@ -51,7 +51,12 @@ const ThumbnailColumn = props => (
ThumbnailColumn.propTypes = { ThumbnailColumn.propTypes = {
className: PropTypes.string, className: PropTypes.string,
itemType: PropTypes.string, itemType: PropTypes.string,
items: PropTypes.arrayOf(PropTypes.object) items: PropTypes.arrayOf(PropTypes.object),
showAvatar: PropTypes.bool,
showFavorites: PropTypes.bool,
showLoves: PropTypes.bool,
showRemixes: PropTypes.bool,
showViews: PropTypes.bool
}; };
ThumbnailColumn.defaultProps = { ThumbnailColumn.defaultProps = {