Remove newlines

This commit is contained in:
Rahul 2018-01-03 14:51:34 -08:00 committed by GitHub
parent 947e7f1842
commit 448fda2533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>