Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gre/react-json2d
https://github.com/gre/react-json2d
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gre/react-json2d
- Owner: gre
- Created: 2016-07-02T22:10:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-24T19:09:10.000Z (almost 7 years ago)
- Last Synced: 2024-08-23T23:18:23.981Z (4 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
react-json2d
=======React library to use [`json2d` library](https://github.com/gre/json2d).
### Props
- `children` **(required)**: the [json2d **data** format object](https://github.com/gre/json2d#the-data-format).
- `width` **(required)**: width of the canvas.
- `height` **(required)**: height of the canvas.
- `ratio`: the pixel ratio to use. *default is `window.devicePixelRatio`.*