react-component-whiteboard
v1.1.1
Published
description
Downloads
6
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