mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
fix linting issues
This commit is contained in:
parent
569324a285
commit
88a28a9c0c
@ -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,
|
||||
|
@ -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) {
|
||||
|
@ -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'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', () => (
|
||||
|
Loading…
Reference in New Issue
Block a user