Merge pull request #1854 from storybooks/fix-lint

Fix linting
This commit is contained in:
Norbert de Langen 2017-09-16 22:03:53 +02:00 committed by GitHub
commit 05edc3ee8d

View File

@ -40,14 +40,13 @@ const spanStyle = {
}),
};
//eslint-disable-next-line
const USplit = ({ shift, split }) => (
<div style={wrapStyle[split](shift)}>
<span style={spanStyle[split]()} />
</div>
);
USplit.PropTypes = {
USplit.propTypes = {
shift: PropTypes.number,
split: PropTypes.oneOf(['vertical', 'horizontal']),
};