- Clone the repo
- Navigate to the repo
- Run
npm link
to link the package globally - Navigate to a react component's directory
- Run
lab ComponentFileName
- It will not work for components that expect a Provider to be above them in the tree
- It will not work (probably) for components that import stylesheets
- It will not work (probably) for components that import images of any type other than svg or png
- It will not work (probably) for components that require specialized or custom webpack loaders