Ensure block components have a proper style structure defined after ejection
This commit is contained in:
parent
bedcde20f6
commit
5f94892b3d
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@
|
|||
_component: `@budibase/standard-components/${type}`,
|
||||
_id: id,
|
||||
_instanceName: type[0].toUpperCase() + type.slice(1),
|
||||
_styles: styles,
|
||||
_styles: {
|
||||
...styles,
|
||||
normal: styles?.normal || {},
|
||||
},
|
||||
_containsSlot: containsSlot,
|
||||
...props,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue