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