farapod-whiteboard

1.0.7 • Public • Published

react-fabricjs-whiteboard ( 👷‍♀️ 🔨)

React whiteboard component based on Fabric.js and React-PDF.


Compatibility

React 17


Installation

npm install farapod-whiteboard

or

yarn add farapod-whiteboard

Usage

import { Whiteboard } from "react-fabricjs-whiteboard";

const App = () => {
  return <Whiteboard aspectRatio={4 / 3}/>
};

props

Name Type Default Description
aspectRatio number 4/3 An aspect ratio(width/height) of the canvas. You can resize the canvas with the same aspect ratio.

Package Sidebar

Install

npm i farapod-whiteboard

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

70 kB

Total Files

23

Last publish

Collaborators

  • farokh2014