|
@@ -32,6 +32,7 @@ export const actionChangeStrokeColor: Action = {
|
|
PanelComponent: ({ elements, appState, updateData }) => (
|
|
PanelComponent: ({ elements, appState, updateData }) => (
|
|
<PanelColor
|
|
<PanelColor
|
|
title="Stroke Color"
|
|
title="Stroke Color"
|
|
|
|
+ colorType="elementStroke"
|
|
onColorChange={(color: string) => {
|
|
onColorChange={(color: string) => {
|
|
updateData(color);
|
|
updateData(color);
|
|
}}
|
|
}}
|
|
@@ -57,6 +58,7 @@ export const actionChangeBackgroundColor: Action = {
|
|
PanelComponent: ({ elements, updateData }) => (
|
|
PanelComponent: ({ elements, updateData }) => (
|
|
<PanelColor
|
|
<PanelColor
|
|
title="Background Color"
|
|
title="Background Color"
|
|
|
|
+ colorType="elementBackground"
|
|
onColorChange={(color: string) => {
|
|
onColorChange={(color: string) => {
|
|
updateData(color);
|
|
updateData(color);
|
|
}}
|
|
}}
|