create props - ensure _styles always exist
This commit is contained in:
parent
c9191f408f
commit
1df16e880c
|
@ -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