create props - ensure _styles always exist
This commit is contained in:
parent
21461645cc
commit
5f7511e3fd
|
@ -77,6 +77,10 @@ export const makePropsSafe = (componentDefinition, props) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!props._styles) {
|
||||||
|
props._styles = { layout: {}, position: {} }
|
||||||
|
}
|
||||||
|
|
||||||
return props
|
return props
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue