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