react-raphael-map

0.8.0 • Public • Published

react-raphael-map

Version Downloads

so easy,draw map with react-raphael!

Install

# or specify the externals in webpack config
npm install --save raphael
# install react-raphael-map in your react-raphael-map project
npm install  --save react-raphael-map

Quickly Start

var React = require('react');
var ReactDOM = require('react-dom');
var {china,Map} = require('react-raphael-map');

ReactDOM.render(<Map data={china} width={480} height={560} />,document.getElementById("react-container"));

Run Example

git clone https://github.com/liuhong1happy/react-raphael-map
npm install
npm run example

Contact

Dependents (0)

Package Sidebar

Install

npm i react-raphael-map

Weekly Downloads

1

Version

0.8.0

License

MIT

Last publish

Collaborators

  • liuhong1happy