fix linting issues

This commit is contained in:
Sérgio Ramos 2016-12-11 23:54:53 +00:00
parent 569324a285
commit 88a28a9c0c
3 changed files with 5 additions and 6 deletions

View File

@ -9,8 +9,7 @@ const {
} = composers; } = composers;
const { const {
colors, colors
boxes
} = constants; } = constants;
const { const {
@ -128,7 +127,7 @@ const StyledRange = styled.input`
&:focus::-ms-fill-upper { &:focus::-ms-fill-upper {
${rangeUpper} ${rangeUpper}
} }
` `;
const RangeSlider = ({ const RangeSlider = ({
className, className,

View File

@ -60,7 +60,6 @@ module.exports = (obj = {}, initial = '') => (props) => {
* ``` * ```
**/ **/
module.exports.prop = (obj = {}, initial = '') => (prop) => (props = {}) => { module.exports.prop = (obj = {}, initial = '') => (prop) => (props = {}) => {
console.log(props);
const value = props[prop]; const value = props[prop];
if (!value) { if (!value) {

View File

@ -155,11 +155,11 @@ storiesOf('Input', module)
)) ))
.add('type=email', () => ( .add('type=email', () => (
<Input <Input
placeholder='Enter email'
label='Email Address' label='Email Address'
placeholder='Enter email'
type='email' type='email'
> >
<small>We'll never share your email with anyone else.</small> <small>We&apos;ll never share your email with anyone else.</small>
</Input> </Input>
)); ));
@ -213,6 +213,7 @@ storiesOf('Radio Group', module)
Video killed the radio star Video killed the radio star
</Radio> </Radio>
</RadioGroup> </RadioGroup>
));
storiesOf('RangeSlider', module) storiesOf('RangeSlider', module)
.add('Default', () => ( .add('Default', () => (