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;
const {
colors,
boxes
colors
} = constants;
const {
@ -128,7 +127,7 @@ const StyledRange = styled.input`
&:focus::-ms-fill-upper {
${rangeUpper}
}
`
`;
const RangeSlider = ({
className,

View File

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

View File

@ -155,11 +155,11 @@ storiesOf('Input', module)
))
.add('type=email', () => (
<Input
placeholder='Enter email'
label='Email Address'
placeholder='Enter 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>
));
@ -213,6 +213,7 @@ storiesOf('Radio Group', module)
Video killed the radio star
</Radio>
</RadioGroup>
));
storiesOf('RangeSlider', module)
.add('Default', () => (