JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MasterBabol/td-js@main/css/td.css" />
    <style type="text/css">
        @import 'https://cdn.jsdelivr.net/gh/MasterBabol/td-js@main/css/reset.css';
        @import url(https://cdn.jsdelivr.net/gh/tonsky/FiraCode@4/distr/fira_code.css);
        body {
            display: flex;
            flex-direction: column;
            width: 100vw;
            min-height: 100vh;
            justify-content: center;
            align-items: center;
        }

        code {
            padding: 8px;
            white-space: pre;
            font-family: 'Fira Code', monospace;
            font-size: 12px;
        }

        #draw-src {
            border: 0.5px solid gray;
            margin: 12px;
        }

        #draw-tgt {
            border: 0.5px solid gray;
            margin: 12px;
        }
    </style>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/MasterBabol/td-js@main/js/td.js"></script>
</head>
<body>
    <script>
        var sampleObject = {
            signals: [{
                    name: 'Name',
                    type: 'clock',
                },
                {
                    name: 'Long Name',
                    type: 'clock',
                    unit: 0.5,
                },
                {
                    name: 'Some Name',
                    type: 'clock',
                    unit: 3,
                },
                {
                    name: 'Very Name',
                    type: 'clock',
                    unit: 1/3,
                },
                {
                    name: 'Just Name',
                    type: 'clock',
                    unit: 2,
                },
                {
                    name: 'Very Long Name',
                    type: 'data',
          ...