Satisfy the ravenous hunger of the linter for newb blood
This commit is contained in:
1 parent
6a2bb3d6ad
commit
12d8e1ed07
1 file changed
+3
-2
@@ -4,7 +4,7 @@ const classNames = require('classnames');
|
||||
const styles = require('./close-button.css');
|
||||
const closeIcon = require('./icon--close.svg');
|
||||
|
||||
const CloseButton = (props) => (
|
||||
const CloseButton = props => (
|
||||
<div
|
||||
className={classNames(
|
||||
styles.closeButton,
|
||||
@@ -27,6 +27,7 @@ CloseButton.SIZE_LARGE = 'large';
|
||||
CloseButton.SIZE_SMALL = 'small';
|
||||
|
||||
CloseButton.propTypes = {
|
||||
className: React.PropTypes.string,
|
||||
onClick: React.PropTypes.func,
|
||||
size: React.PropTypes.oneOf([CloseButton.SIZE_LARGE, CloseButton.SIZE_SMALL])
|
||||
};
|
||||
@@ -35,4 +36,4 @@ CloseButton.defaultProps = {
|
||||
size: CloseButton.SIZE_LARGE
|
||||
};
|
||||
|
||||
module.exports = CloseButton
|
||||
module.exports = CloseButton;
|
||||
Reference in new issue
Block a user