1
0
Fork 0
mirror of synced 2024-06-01 18:20:18 +12:00

Ensure block components have a proper style structure defined after ejection

This commit is contained in:
Andrew Kingston 2022-08-24 09:44:33 +01:00
parent f720c021e0
commit 8f8ffe2c1c

View file

@ -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,
}