react-component-whiteboard

description

Usage no npm install needed!

<script type="module">
  import reactComponentWhiteboard from 'https://cdn.skypack.dev/react-component-whiteboard';
</script>

README

React-Component-Whiteboard

Whiteboard component build with React.

Documentation

Installation

npm

npm install react-component-whiteboard --save

Component

Whiteboard

The component is to generate a big whiteboard.

import React from 'react'
import Whiteboard from 'react-component-whiteboard'

class Simple extends React.Component {
  render() {
    return (<Whiteboard allowDraw />)
  }
}

Props

BigWhiteboard

This component is used to preview articles.

import React from 'react'
import { BigWhiteboard } from 'react-component-whiteboard'

class Simple extends React.Component {
  render() {
    return (<BigWhiteboard />)
  }
}

Development

Want to run demos locally

npm install
npm start
open http:localhost:6006