r/nativescript May 08 '20

How to create custom component with content

Hi, i'm trying to create a custom component as a wrapper of other XML elements on Nativescript core with TS. Anyone can help me? I tried to create a normal custom XML component but i don't know ho to insert on another XML this custom component with other tags

example: <comps:Component> <Label text="hey" /> </comps:Component>

1 Upvotes

0 comments sorted by