Adding missing proptypes

This commit is contained in:
okbel
2018-01-10 11:03:33 -03:00
parent c0f266dfa5
commit 9c75f3fa59
3 changed files with 19 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"tabWidth": 2,
"trailingComma": "es5",
"bracketSpacing": false,
"singleQuote": true,
"arrowParens": "allow"
}
@@ -101,8 +101,18 @@ export default class Embed extends React.Component {
}
Embed.propTypes = {
setActiveTab: PropTypes.func,
auth: PropTypes.object,
blurSignInDialog: PropTypes.func,
focusSignInDialog: PropTypes.func,
hideSignInDialog: PropTypes.func,
router: PropTypes.object,
commentId: PropTypes.string,
root: PropTypes.object,
activeTab: PropTypes.string,
data: PropTypes.shape({
loading: PropTypes.bool,
error: PropTypes.object
error: PropTypes.object,
refetch: PropTypes.func,
}).isRequired
};
@@ -316,6 +316,7 @@ class Stream extends React.Component {
}
Stream.propTypes = {
asset: PropTypes.object,
activeStreamTab: PropTypes.string,
data: PropTypes.object,
root: PropTypes.object,