JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://js.arcgis.com/3.16/dijit/themes/claro/claro.css">

    <head>
        
    <script>dojoConfig = {async: true, parseOnLoad: false}</script>
    <script src='//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js'></script>
    <script>
    require(["dijit/TitlePane", "dojo/dom", "dojo/domReady!"],
    function(TitlePane, dom){
        var tp = new TitlePane({title:"I'm a TitlePane", content: "Collapse me!"});
        dom.byId("holder").appendChild(tp.domNode);
        tp.startup();
    });
    </script>
    </head>
    <body class="claro">
        <div id="holder"></div>
    </body>