I’m feeling dumb here but I have a Product
model with a reference attribute to another component model Frame
.
I’m trying to render the Frame
view from the association but can’t seem to figure out how.
The Frame
component renders an absolute positioned div (different frames for some products)
/* works great */
<BuilderComponent model="product" content={page} options={{ includeRefs: true }} />
/* Like this? */
<BuilderComponent model="frame" content={?} />
/* Or this? */
<BuilderContent model="frame" content={?}>
{content => <Frame attributes={?} image={content?.image} />}
</BuilderContent>