mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:01:22 +08:00
Remove newlines
This commit is contained in:
parent
947e7f1842
commit
448fda2533
@ -87,14 +87,7 @@ class ColorType extends React.Component {
|
|||||||
<SketchPicker
|
<SketchPicker
|
||||||
color={knob.value}
|
color={knob.value}
|
||||||
onChange={color =>
|
onChange={color =>
|
||||||
onChange(`
|
onChange(`rgba(${color.rgb.r},${color.rgb.g},${color.rgb.b},${color.rgb.a})`)
|
||||||
rgba(
|
|
||||||
${color.rgb.r},
|
|
||||||
${color.rgb.g},
|
|
||||||
${color.rgb.b},
|
|
||||||
${color.rgb.a}
|
|
||||||
)
|
|
||||||
`)
|
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user