Custom widget - Widget attribute type

0
https://docs.mendix.com/apidocs-mxsdk/apidocs/property-types-pluggable-widgets#widget Since the release of 8.3 Mendix has introduced the ability to render other widget's inside a custom widget. As per docs statement, it returns the ReactNode as a prop.  What is the best way of rendering these child widgets?
asked
1 answers
1

Hi Marnix,

Just like this

<div className={classes} style={style}>
    {props.content}
</div>

https://github.com/Andries-Smit/conditional-style-container/blob/master/src/ConditionalStyleContainer.tsx#L31

Cheers Andries

answered