Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)}
<div>
Background Color
{util.isValidColor(this.state.labelBackgroundColor) && (
)}
</div>
<div>
<div>
<div style="{{">Label Position</div>
<select value="{this.state.labelPosition}" style="{{"></select></div></div>
)}
<div>
Gradient
{util.isValidColor(this.state.gradient) && (
)}
</div>
<div>
<div>
Stroke</div></div>
fill="currentColor"
viewBox="0 0 1024 1024"
xmlns="http://www.w3.org/2000/svg"
>
renderStyleTab() {
const hasStroke =
(this.state.strokeWidth != null && this.state.strokeWidth > 0) ||
util.isValidColor(this.state.strokeColor)
return (
<div>
<div>
<div>
Fill
{util.isValidColor(this.state.fill) && (
)}
</div>
<div>
</div></div></div>
>
Fill
{util.isValidColor(this.state.fill) && (
)}
<div>
Gradient
{util.isValidColor(this.state.gradient) && (
)}
</div>
<div>
<div>
</div></div>
const hasStroke =
(this.state.strokeWidth != null && this.state.strokeWidth > 0) ||
util.isValidColor(this.state.strokeColor)
return (
<div>
<div>
<div>
Fill
{util.isValidColor(this.state.fill) && (
)}
</div>
<div>
Gradient
{util.isValidColor(this.state.gradient) && (</div></div></div>
)}
<div>
Border Color
{util.isValidColor(this.state.labelBorderColor) && (
)}
</div>
<div>
Background Color
{util.isValidColor(this.state.labelBackgroundColor) && (</div>
renderStyleTab() {
const hasStroke =
(this.state.strokeWidth != null && this.state.strokeWidth > 0) ||
util.isValidColor(this.state.strokeColor)
return (
<div>
<div>
<div>
Fill
{util.isValidColor(this.state.fill) && (
</div></div></div>