JSFiddle - React, Tailwind, and code Playground

by Steven Senkus

JavaScript

const IFormDummyData = {
    "id": null,
    "formVersion": 1,
    "components": {
        "1b431839-8c01-42ea-a868-90d7a5078d38": {
            "id": "1b431839-8c01-42ea-a868-90d7a5078d38",
            "questionGroups": {
                "5a35e72b-a553-4803-85bf-02dc934b1a0e": {
                    "id": "5a35e72b-a553-4803-85bf-02dc934b1a0e",
                    "questionGroupType": "text",
                    "questions": {
                        "3f7b375a-129c-49e8-9aef-31489de45267": {
                            "id": "3f7b375a-129c-49e8-9aef-31489de45267",
                            "questionType": "text",
                            "validate": {
                                "customPrivate": false,
                                "required": true
                            },
                            "prompt": "Zip Code",
                            "defaultValue": null
                        }
                    },
                    "header": "Get a free auto insurance quote",
                    "subHeader": "Enter in your zip code to start your free quote"
                }
            },
            "componentType": "section",
            "title": "Start"
        },
        "a15eba87-a70e-485c-84a2-979ac8fad28e": {
            "id": "a15eba87-a70e-485c-84a2-979ac8fad28e",
            "questionGroups": {
                "43064d84-1348-482d-9873-216a40dd27b4": {
                    "id": "43064d84-1348-482d-9873-216a40dd27b4",
                    "questionGroupType": "text",
                    "questions": {
                        "28158762-9870-4a96-9d3c-6b5279212514": {
                            "id": "28158762-9870-4a96-9d3c-6b5279212514",
                            "questionType": "text",
                            "validate": {
                                "customPrivate": false,
                                "required": true
                            },
                            "prompt": "Birthday",
                   ...