1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00

fix eslint raised issues

This commit is contained in:
Sérgio Ramos 2017-01-09 22:20:54 +00:00
parent 9152f7253a
commit acbd18a505
5 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,5 @@
const constants = require('../../shared/constants');
const fns = require('../../shared/functions');
const React = require('react');
const View = require('./view').raw;
const Styled = require('styled-components');

View File

@ -15,8 +15,7 @@ const {
} = fns;
const {
default: styled,
css
default: styled
} = Styled;
const paper = `

View File

@ -18,7 +18,7 @@ const {
const padding = (props) => !props.collapsed
? `0 ${remcalc(18)}`
: `0`;
: 0;
const color = (props) => props.fromHeader
? colors.brandPrimaryColor

View File

@ -34,6 +34,10 @@ const View = (props) => (
</StyledView>
);
View.propTypes = {
children: React.PropTypes.node
};
module.exports = transferProps([
'collapsed',
'headed',

View File

@ -661,7 +661,7 @@ storiesOf('ListItem', module)
</ListItemOutlet>
</ListItemView>
</ListItem>
<ListItem stacked flat>
<ListItem flat stacked>
<ListItemView>
<ListItemMeta>
<ListItemTitle>percona_database</ListItemTitle>