UNPKG

react-svg-image-board

Version:

A react component. can drawing svg element to image board.

36 lines (19 loc) 696 B
# react-svg-image-board A react module. can drawing svg element to image board. ## Install $ npm install --save react-svg-image-board ## Usage ### Quick start import { SvgImageBoard, BoardMode } from 'react-svg-image-board'; <SvgImageBoard {...props} mode={BoardMode.ReadOnly} /> ## Develop In the project directory, you can run: ### `npm run storybook` Run the demo app in the storybook.<br /> Open [http://localhost:9009/](http://localhost:9009/) to view it in the browser. The page will reload if you make edits.<br /> You will also see any lint errors in the console. ### `npm run build:lib` Builds the lib for production to the `dist` folder.<br />