Use this component to draw a shaky diagram.
Code of drawing shaky diagram is ported from moe-js
and shaky.coffee
.
import ShakyCanvas from 'react-shaky';
const canvas = (
<ShakyCanvas>
{
`
+----+ +----+
|V8 | | |
| *+--+> JS|
+----+ +----+`
}
</ShakyCanvas>
);
ReactDOM.render(canvas, document.getElementById('shaky'));