Linting improvements

This commit is contained in:
Colin McLeod
2016-02-19 15:17:40 -08:00
parent 05e160f702
commit b357573add
10 changed files with 58 additions and 36 deletions

View File

@@ -7,6 +7,12 @@ import { shallowEqual } from '../utils/UtilityFunctions';
*/
export default class Link extends React.Component {
static propTypes = {
children: React.PropTypes.any,
href: React.PropTypes.string.isRequired,
onClick: React.PropTypes.func
};
/**
* Constructor
* @param {Object} props React Component properties