react-component-whiteboard
v1.1.1
Published
description
Readme
React-Component-Whiteboard
Whiteboard component build with React.
Documentation
Installation
npm
npm install react-component-whiteboard --saveComponent
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