mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
add missing props declarations
This commit is contained in:
parent
87c1bc5858
commit
1757f28a5e
2 changed files with 12 additions and 2 deletions
|
@ -53,7 +53,12 @@ const Grid = props => (
|
|||
Grid.propTypes = {
|
||||
className: 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 = {
|
||||
|
|
|
@ -51,7 +51,12 @@ const ThumbnailColumn = props => (
|
|||
ThumbnailColumn.propTypes = {
|
||||
className: 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 = {
|
||||
|
|
Loading…
Reference in a new issue