Back to React Sketchapp

Form Validation

examples/form-validation/README.md

3.2.2742 B
Original Source

Form Validation

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/form-validation
cd form-validation

Install the dependencies

bash
npm install

Then, open Sketch and navigate to Plugins → react-sketchapp: Form Validation

Run with live reloading in Sketch

bash
npm run render

The idea behind the example

react-sketchapp makes it simple to render all potential states of a web component to sketch.