mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
fix eslint raised issues
This commit is contained in:
parent
9152f7253a
commit
acbd18a505
@ -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');
|
||||
|
||||
|
@ -15,8 +15,7 @@ const {
|
||||
} = fns;
|
||||
|
||||
const {
|
||||
default: styled,
|
||||
css
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
const paper = `
|
||||
|
@ -18,7 +18,7 @@ const {
|
||||
|
||||
const padding = (props) => !props.collapsed
|
||||
? `0 ${remcalc(18)}`
|
||||
: `0`;
|
||||
: 0;
|
||||
|
||||
const color = (props) => props.fromHeader
|
||||
? colors.brandPrimaryColor
|
||||
|
@ -34,6 +34,10 @@ const View = (props) => (
|
||||
</StyledView>
|
||||
);
|
||||
|
||||
View.propTypes = {
|
||||
children: React.PropTypes.node
|
||||
};
|
||||
|
||||
module.exports = transferProps([
|
||||
'collapsed',
|
||||
'headed',
|
||||
|
@ -661,7 +661,7 @@ storiesOf('ListItem', module)
|
||||
</ListItemOutlet>
|
||||
</ListItemView>
|
||||
</ListItem>
|
||||
<ListItem stacked flat>
|
||||
<ListItem flat stacked>
|
||||
<ListItemView>
|
||||
<ListItemMeta>
|
||||
<ListItemTitle>percona_database</ListItemTitle>
|
||||
|
Loading…
Reference in New Issue
Block a user