Developer Cheatsheet
| Code | Pagedraw Equivalent |
|---|---|
| React Component | Artboard |
| Instantiating a component | Instance Block |
| Arguments/Props | Component arguments |
| Data bindings | Data bindings |
| If | Multistate Group |
| For loop | Repeat |
flex-grow: 1 | Flexible width: true |
overflow: scroll | Scroll independently |
| Breakpoints/Media queries | Screen size groups |
FAQ
- How do I use existing handwritten components in Pagedraw (i.e. Bootstrap)? See this.
- How do I do a custom layout that flexbox doesn't support? Use custom code.