Back to React Sketchapp

Symbol Support

examples/symbols/README.md

3.2.2628 B
Original Source

Symbol Support

How to use

Download the example or clone the repo:

bash
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/symbols
cd symbols

Install the dependencies

bash
npm install

Then, open Sketch and navigate to Plugins → react-sketchapp: Symbol Support

Run with live reloading in Sketch

bash
npm run render

The idea behind the example

react-sketchapp@^0.11.0 introduces an API for creating Sketch symbols — this example shows them in use with React components.