JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://cdn.craftycomponents.com/crafty-dev.js"></script>
<script src="https://raw.github.com/luizpfbrandao/CraftyShape/master/src/Shape.js"></script>

JavaScript

// Init Crafty:
Crafty.init();

var RenderType = 'Canvas';

Crafty.e(RenderType + ", Shape")
  .circle(50)

Crafty.e(RenderType + ", Shape")
  .rect(100, 100)
  .attr('y',110)