Test components with different screen sizes in Sketch
Tested with Sketch v.47.1
Built with React Sketchapp Starter Kit.
Idea inspired from https://airbnb.design/painting-with-code/.
-
Clone this repository
git clone [email protected]:kristinbaumann/react-sketchapp-example-responsive.git project-name cd project-name rm -rf .git
-
Install npm dependencies
npm install
-
Open Sketch with a new project
-
Render the React code
npm run render
-
View the result in Sketch