react-slide2d
IMPORTANT: the library was renamed to react-json2d
React library to use slide2d
library.
Props
-
children
(required): the slide2d data format object. -
width
(required): width of the canvas. -
height
(required): height of the canvas. -
ratio
: the pixel ratio to use. default iswindow.devicePixelRatio
.