Skip to main content
ArcBlock Community

Pages kit-Pass arrays from a parent component into a sub-component?

Twelve
Support
pages-kitdiscussionfeature

Hi team, I have a Pages Kit question:

What’s the proper way to pass arrays from a parent component into a sub-component (skin) so the sub-component can render that data?

Basically, I want to select a component as a prop in the editor and have it receive the parent’s array prop automatically (so the “skin” displays the same data in a different layout).

Is this possible and if so what’s the recommended Pages Kit pattern for doing that?

Reply