koenbok / Framer

Framer - Design Everything
https://framer.com
MIT License
5.85k stars 477 forks source link

.addPages(<array>) for PageComponent #548

Open awt2542 opened 7 years ago

awt2542 commented 7 years ago

Instead of looping through an array to add pages it may be more intuitive to submit an array to the page component.

layers = [layerA, layerB, layerC, layerD]

# current way
for layer in layers
    pageComponent.addPage(layer)

# proposed
pageComponent.addPages(layers)