diff --git a/frontend/src/component/app.jsx b/frontend/src/component/app.jsx
index a06ca91b4d..c9b70992fd 100644
--- a/frontend/src/component/app.jsx
+++ b/frontend/src/component/app.jsx
@@ -1,4 +1,4 @@
-import React, { Component } from 'react';
+import React, { Component, PropTypes } from 'react';
import { Layout, Drawer, Header, Navigation, Content,
Footer, FooterSection, FooterDropDownSection, FooterLinkList,
Grid, Cell, Icon,
@@ -26,6 +26,13 @@ function replace (input, params) {
}
export default class App extends Component {
+ static propTypes () {
+ return {
+ location: PropTypes.object.isRequired,
+ params: PropTypes.object.isRequired,
+ routes: PropTypes.array.isRequired,
+ };
+ }
static contextTypes = {
router: React.PropTypes.object,
diff --git a/frontend/src/component/strategies/show-strategy-component.js b/frontend/src/component/strategies/show-strategy-component.js
index f2f331778b..9930252eb8 100644
--- a/frontend/src/component/strategies/show-strategy-component.js
+++ b/frontend/src/component/strategies/show-strategy-component.js
@@ -1,8 +1,15 @@
-import React, { PureComponent } from 'react';
+import React, { PropTypes, PureComponent } from 'react';
import { Grid, Cell, List, ListItem, ListItemContent } from 'react-mdl';
import { AppsLinkList, TogglesLinkList } from '../common';
class ShowStrategyComponent extends PureComponent {
+ static propTypes () {
+ return {
+ toggles: PropTypes.array,
+ applications: PropTypes.array,
+ strategy: PropTypes.object.isRequired,
+ };
+ }
renderParameters (params) {
if (params) {
diff --git a/frontend/src/component/strategies/strategy-details-component.jsx b/frontend/src/component/strategies/strategy-details-component.jsx
index 8169e4ed52..dc5dba66a6 100644
--- a/frontend/src/component/strategies/strategy-details-component.jsx
+++ b/frontend/src/component/strategies/strategy-details-component.jsx
@@ -13,6 +13,9 @@ const TABS = {
export default class StrategyDetails extends Component {
static propTypes () {
return {
+ strategyName: PropTypes.string.isRequired,
+ toggles: PropTypes.array,
+ applications: PropTypes.array,
activeTab: PropTypes.string.isRequired,
strategy: PropTypes.object.isRequired,
fetchStrategies: PropTypes.func.isRequired,
diff --git a/frontend/src/component/user/user-component.jsx b/frontend/src/component/user/user-component.jsx
index 396560a155..15692b13e8 100644
--- a/frontend/src/component/user/user-component.jsx
+++ b/frontend/src/component/user/user-component.jsx
@@ -6,6 +6,7 @@ class EditUserComponent extends React.Component {
return {
user: PropTypes.object.isRequired,
updateUserName: PropTypes.func.isRequired,
+ save: PropTypes.func.isRequired,
};
}
diff --git a/frontend/src/page/applications/view.js b/frontend/src/page/applications/view.js
index e4bc3b2405..2ecfa22355 100644
--- a/frontend/src/page/applications/view.js
+++ b/frontend/src/page/applications/view.js
@@ -1,6 +1,10 @@
-import React from 'react';
+import React, { PropTypes } from 'react';
import ApplicationEditComponent from '../../component/application/application-edit-container';
const render = ({ params }) => ;
+render.propTypes = {
+ params: PropTypes.object.isRequired,
+};
+
export default render;
diff --git a/frontend/src/page/strategies/show.js b/frontend/src/page/strategies/show.js
index fbfd604c78..0dc4fdbc76 100644
--- a/frontend/src/page/strategies/show.js
+++ b/frontend/src/page/strategies/show.js
@@ -1,6 +1,10 @@
-import React from 'react';
+import React, { PropTypes } from 'react';
import ShowStrategy from '../../component/strategies/strategy-details-container';
const render = ({ params }) => ;
+render.propTypes = {
+ params: PropTypes.object.isRequired,
+};
+
export default render;