Ensure block components have a proper style structure defined after ejection
This commit is contained in:
parent
f720c021e0
commit
8f8ffe2c1c
|
@ -26,7 +26,10 @@
|
||||||
_component: `@budibase/standard-components/${type}`,
|
_component: `@budibase/standard-components/${type}`,
|
||||||
_id: id,
|
_id: id,
|
||||||
_instanceName: type[0].toUpperCase() + type.slice(1),
|
_instanceName: type[0].toUpperCase() + type.slice(1),
|
||||||
_styles: styles,
|
_styles: {
|
||||||
|
...styles,
|
||||||
|
normal: styles?.normal || {},
|
||||||
|
},
|
||||||
_containsSlot: containsSlot,
|
_containsSlot: containsSlot,
|
||||||
...props,
|
...props,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue