We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e29e2e commit 00a9e55Copy full SHA for 00a9e55
packages/kg-default-nodes/lib/nodes/call-to-action/CallToActionNode.js
@@ -24,6 +24,7 @@ export class CallToActionNode extends generateDecoratorNode({nodeType: 'call-to-
24
buttonUrl,
25
hasSponsorLabel,
26
hasBackground,
27
+ backgroundColor,
28
hasImage,
29
imageUrl
30
} = {}, key) {
@@ -35,6 +36,7 @@ export class CallToActionNode extends generateDecoratorNode({nodeType: 'call-to-
35
36
this.__buttonUrl = buttonUrl || '';
37
this.__hasSponsorLabel = hasSponsorLabel || false;
38
this.__hasBackground = hasBackground || false;
39
+ this.__backgroundColor = backgroundColor || '#123456';
40
this.__hasImage = hasImage || false;
41
this.__imageUrl = imageUrl || '';
42
}
0 commit comments