Hello, I have tried several several strategies without a solution.
We are trying to implement the following 2 components both having the same issue, they are containers in mobile app.
- Carousel > (N) cards
- Screen > (N) child
I want to create a component called Carousel with variants like showCounter, border, etc and another component called card, or could called View.
How I can create a component that can accept childs node like other components?
I want to create a component called screen with variants like fullscreen,fixed, scroll, this screen is the main screen component in the mobile app, new screen will be using the screen component as parent and as childs any other component, how can archive this using components? I want to use components because Screen it’s a component not a group either a Layer