JSPM

react-svg-image-board

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q45358F
  • License ISC

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

Package Exports

  • react-svg-image-board

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-svg-image-board) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.
Open http://localhost:9009/ to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build:lib

Builds the lib for production to the dist folder.