react-rough
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

React Bindings for Rough.js

Netlify Status npm downloads/month Known Vulnerabilities pullrequest firsttimersonly

Installation

- npm add react-rough
- npm add 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

Readme

Keywords

none

Package Sidebar

Install

npm i react-rough

Weekly Downloads

141

Version

2.3.0

License

MIT

Unpacked Size

66 kB

Total Files

13

Last publish

Collaborators

  • ooade