Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

* fix: Typo on README

* Update README.md

Co-authored-by: Ademola <ooade96@gmail.com>
029e992

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

React Bindings for Rough.js

Netlify Status npm downloads/month Known Vulnerabilities pullrequest firsttimersonly

Installation

npm

npm add react-rough roughjs

or

yarn

yarn add react-rough roughjs

Render a Rectangle on a canvas element

import ReactRough, { Rectangle } from 'react-rough';

render(
	<ReactRough>
		<Rectangle x={15} y={15} width={90} height={80} fill="red" />
	</ReactRough>
);

Learn More

To learn more, go through our StoryBook.

Visit the Website Storybook Preview

License

MIT