mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -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 = {
|
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 = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue