How does the PageComponent.wrap() work? Can I import multiple layers and they are added automatically as pages? Or do I need to add them manually one by one?
A screenshot how the sketch file should be organized would be very helpful :-)
The wrap function exists on PageComponent because it inherits from ScrollComponent. You won't find it in the docs or autocomplete because support is very limited. I would recommend adding each imported page with code.
Ok, that makes sense. The wrap functionality in the scroll component is very convenient.