function getWidgetData(type) {
  let widgetData = {};

  let padding = {
    top: 30,
    bottom: 20,
    right: 20,
    left: 20,
  };

  switch (type) {
    case "TemplateStyle1":
      widgetData = {
        type: "TemplateStyle",
        value: {
          templateStyle: type,
        },
        sharedStyle: {
          backgroundColor: "lightGrey",
          heading: {
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "bold",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 0, right: 0, left: 0 },
          },
          subHeading: {
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 4, bottom: 14, right: 0, left: 0 },
          },
          textInput: {
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            borderHeight: 50,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderMargin: { top: 0, bottom: 7, right: 0, left: 0 },
            borderPadding: { top: 0, bottom: 0, right: 0, left: 15 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
          textInputMultiline: {
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderPadding: { top: 10, bottom: 10, right: 10, left: 10 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
          checkbox: {
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "lighter",
            textColor: "black",
            borderPadding: { top: 12, bottom: 12, right: 12, left: 12 },
            selectColor: "#912fc0",
            spacing: 8,
            borderRadius: 5,
            backgroundColor: "#f2f2f2",
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
          },
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          padding: {
            top: 0,
            bottom: 0,
            right: 0,
            left: 0,
          },
        },
      };
      break;
    case "TemplateStyle2":
      widgetData = {
        type: "TemplateStyle",
        // properties: ['color', 'text-properties', 'form-design', 'general'],
        style: {
          size: 21,
          radioColor: "#5bc0de",
          boxColor: "info-o",
          boxStyle: "p-default p-round p-thick",
          boxType: "",
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          boxborder: true,
          headingColor: "#005CB9",
          padding: padding,
        },
      };
      break;
    case "TemplateStyle3":
      widgetData = {
        type: "TemplateStyle",
        // properties: ['color', 'text-properties', 'form-design', 'general'],
        style: {
          size: 21,
          radioColor: "#5bc0de",
          boxColor: "info-o",
          boxStyle: "p-default p-round p-thick",
          boxType: "",
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          boxborder: true,
          headingColor: "#005CB9",
          padding: padding,
        },
      };
      break;
    case "BooleanWidget":
      widgetData = {
        type: type,
        value: {
          response: [],
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
        },
        text: {
          heading: "Thumbs up or down",
          subHeading:
            "Yes Or No, Agree Or Not, Like or Dislike, Confirm or Cancel",
          option: {
            true: "Yes",
            false: "No",
          },
        },
      };
      break;
    case "TextInputWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: true,
            type: "text",
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            borderHeight: 50,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderMargin: { top: 0, bottom: 7, right: 0, left: 0 },
            borderPadding: { top: 0, bottom: 0, right: 0, left: 15 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
        },
        text: {
          heading: "Text input",
          subHeading: "Please type your answer here",
          submitValue: "",
        },
      };
      break;
    case "TextInputMultiLineWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          rows: 5,
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderPadding: { top: 10, bottom: 10, right: 10, left: 10 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
        },
        text: {
          heading: "Comments or questions",
          subHeading: "Additional information",
        },
      };
      break;
    case "CheckboxWidget":
      widgetData = {
        type: type,
        value: {
          response: [],
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "lighter",
            textColor: "black",
            borderPadding: { top: 12, bottom: 12, right: 12, left: 12 },
            selectColor: "#912fc0",
            spacing: 8,
            borderRadius: 5,
            backgroundColor: "#f2f2f2",
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
          },
        },
        text: {
          heading: "Checkbox options",
          subHeading: "Select one or more",
          options: [
            {
              text: "Option 1",
              value: 1,
            },
            {
              text: "Option 2",
              value: 2,
            },
            {
              text: "Option 3",
              value: 3,
            },
            {
              text: "Option 4",
              value: 4,
            },
          ],
        },
      };
      break;
    case "RadioButtonWidget":
      widgetData = {
        type: type,
        value: {
          response: [],
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: false,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "lighter",
            textColor: "black",
            borderPadding: { top: 12, bottom: 12, right: 12, left: 12 },
            selectColor: "#912fc0",
            spacing: 8,
            borderRadius: 5,
            backgroundColor: "#f2f2f2",
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
          },
        },
        text: {
          heading: "Radio button set",
          subHeading: "Only one can be chosen by the user",
          options: [
            {
              text: "Option 1",
              value: 1,
            },
            {
              text: "Option 2",
              value: 2,
            },
            {
              text: "Option 3",
              value: 3,
            },
            {
              text: "Option 4",
              value: 4,
            },
          ],
        },
      };
      break;
    case "DropdownWidget":
      widgetData = {
        type: type,
        value: {
          response: "",
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: false,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            borderHeight: 50,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderMargin: { top: 0, bottom: 7, right: 0, left: 0 },
            borderPadding: { top: 0, bottom: 0, right: 0, left: 15 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
        },
        text: {
          heading: "Dropdown",
          subHeading:
            "Dropdown elements have no styling and use the default (native) mobile menu",
          options: [
            {
              text: "Option 1",
              value: "value " + 1,
              id: 1,
            },
            {
              text: "Option 2",
              value: "value " + 2,
              id: 2,
            },
            {
              text: "Option 3",
              value: "value " + 3,
              id: 3,
            },
            {
              text: "Option 4",
              value: "value " + 4,
              id: 4,
            },
          ],
        },
      };
      break;
    case "TextEditorWidget":
      widgetData = {
        type: type,
        // properties: ['color', 'text-editor', 'general'],
        style: {
          backgroundColor: "#FFFFFFFF",
          fontFamily: "Montserrat, sans-serif",
          padding: padding,
        },
        html: "<p style='text-align: justify;'><b>Lorem Ipsum</b> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>",
      };
      break;
    case "ImageWidget":
      widgetData = {
        type: type,
        style: {
          backgroundColor: "#FFFFFFFF",
          onClick: "_blank",
          linkUrl: null,
          imageUrl:
            "https://s3.ap-southeast-1.amazonaws.com/vemessage-images/1627742177996-placeholder-600-160.jpg",
          imageSize: 100,
          position: "center",
          padding: {
            top: 10,
            bottom: 10,
            right: 20,
            left: 20,
          },
        },
      };
      break;
    case "ImageCarouselWidget":
      widgetData = {
        type: type,
        value: {},
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
        },
        text: {
          heading: "Image and description carousel",
          subHeading: "Add up to 6 images and descriptions to cycle through",
          images: [
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 1 caption",
            },
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 2 caption",
            },
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 3 caption",
            },
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 4 caption",
            },
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 5 caption",
            },
            {
              url: "https://cdn-au.whispir.com/public/resources/6649a1141601a9ee020684713ba1c4ec8f6.jpg",
              caption: "image 6 caption",
            },
          ],
        },
      };
      break;
    case "RattingWidget":
      widgetData = {
        type: type,
        // properties: ['color', 'text-properties', 'general'],
        value: {
          response: 0,
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          input: {
            defaultStyle: false,
            alignment: "center",
            selectColor: "#f8c73d",
            unselectColor: "#f8c73d",
          },
          padding: padding,
        },
        text: {
          heading: "How do You Rate Us",
          subHeading: "1 being the lowest & 5 being the highest",
        },
      };
      break;
    case "SmileyFaceSliderWidget":
      widgetData = {
        type: type,
        value: {
          response: 0,
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          input: {
            defaultStyle: false,
            alignment: "center",
            selectColor: "#f8c73d",
            unselectColor: "#f8c73d",
          },
          padding: padding,
        },
        text: {
          heading: "Smiley face slider",
          subHeading: "1 being unhappy & 10 being very happy!",
        },
      };
      break;
    case "NumberSliderWidget":
      widgetData = {
        type: type,
        value: {
          response: 0,
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          input: {
            defaultStyle: false,
            alignment: "center",
            selectColor: "#f8c73d",
            unselectColor: "#f8c73d",
          },
          padding: padding,
        },
        text: {
          heading: "Number slider",
          subHeading: "Ask user to rate feedback in number",
        },
      };
      break;
    case "SliderWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          padding: padding,
        },
      };
      break;
    case "SubmitButtonWidget":
      widgetData = {
        type: type,
        // properties: ['color', 'button-properties', 'general'],
        value: "",
        style: {
          backgroundColor: "#FFFFFFFF",
          padding: padding,
          input: {
            defaultStyle: false,
            type: "text",
            fontFamily: "open-sans, sans-serif",
            fontSize: 20,
            fontWeight: "bold",
            textColor: "white",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 50,
            borderHeight: 70,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderMargin: { top: 0, bottom: 7, right: 0, left: 0 },
            borderPadding: { top: 0, bottom: 0, right: 0, left: 15 },
            borderActive: "#F6F6F6",
            backgroundColor: "#912fc0",
          },
        },
        text: {
          buttonText: "Submit",
        },
      };
      break;
    case "FooterCopyrightWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          backgroundColor: "#262626",
          padding: {
            top: 40,
            bottom: 40,
            right: 30,
            left: 30,
          },
          input: {
            fontFamily: "open-sans, sans-serif",
            fontSize: "13",
            fontWeight: "normal",
            textColor: "#bebebe",
            width: 170,
          },
        },
        text: {
          url: "https://vemessage.com/wp-content/uploads/2019/08/vemessage-logo-light-3.png",
          text: "Powered by",
        },
      };
      break;
    case "GroupsWidget":
      widgetData = {
        type: type,
        value: {
          response: "",
          isRender: Boolean,
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          heading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 20,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#912fc0",
            padding: { top: 10, bottom: 10, right: 0, left: 0 },
          },
          subHeading: {
            defaultStyle: true,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            textAlignment: "center",
            fontWeight: "normal",
            textColor: "#777",
            padding: { top: 0, bottom: 10, right: 0, left: 0 },
          },
          padding: padding,
          input: {
            defaultStyle: false,
            fontFamily: "Montserrat, sans-serif",
            fontSize: 16,
            fontWeight: "normal",
            textColor: "black",
            placeholder: "placeholder",
            placeholderColor: "#666",
            borderColor: "#CCC",
            borderWidth: 0,
            borderType: "solid",
            borderRadius: 5,
            borderHeight: 50,
            margin: { top: 0, bottom: 10, right: 0, left: 0 },
            borderMargin: { top: 0, bottom: 7, right: 0, left: 0 },
            borderPadding: { top: 0, bottom: 0, right: 0, left: 15 },
            borderActive: "#F6F6F6",
            backgroundColor: "#f2f2f2",
          },
        },
        text: {
          heading: "Api Dropdown",
          subHeading: "Api fetches all public contact groups to display",
          spaceId: "",
          options: [],
        },
      };
      break;
    case "YoutubeWidget":
      widgetData = {
        type: type,
        // properties: ['color', 'text-properties', 'general'],
        value: {
          Ans: 0,
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          padding: padding,
        },
        text: {
          youtubeVideoId: "ybhKG682sKA",
        },
      };
      break;
    case "UploadWidget":
      widgetData = {
        type: type,
        // properties: ['file-properties', 'color', 'text-properties', 'general'],
        value: {
          Ans: "",
        },
        style: {
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          padding: padding,
        },
      };
      break;
    case "VoiceWidget":
      widgetData = {
        type: type,
        value: {},
        style: {
          backgroundColor: "#FFFFFFFF",
          padding: padding,
        },
      };
      break;
    case "SocialsWidget":
      widgetData = {
        type: type,
        value: {},
        style: {
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          padding: padding,
        },
        text: {
          socialsLinks: [
            {
              name: "circle_Black_Facebook",
              title: "Facebook",
              imagelink:
                "https://s3.ap-southeast-1.amazonaws.com/vemessage-images/1553929638334-Facebook.png",
            },
            {
              name: "circle_Black_Twiter",
              title: "Twiter",
              imagelink:
                "https://s3.ap-southeast-1.amazonaws.com/vemessage-images/1553929769726-Twiter.png",
            },
            {
              name: "circle_Black_Instagram",
              title: "Instagram",
              imagelink:
                "https://s3.ap-southeast-1.amazonaws.com/vemessage-images/1553929675528-Instagram.png",
            },
          ],
        },
      };
      break;
    case "LinksWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          backgroundColor: "#FFFFFFFF",
          textcolor: "#005CB9",
          padding: padding,
        },
        text: {
          links: [
            {
              name: "Home",
              url: "https://vemessage.com/",
            },
            {
              name: "About",
              url: "https://vemessage.com/",
            },
            {
              name: "contact",
              url: "https://vemessage.com/",
            },
          ],
        },
      };
      break;
    case "DateWidget":
      widgetData = {
        type: type,
        value: "",
        style: {
          formBody: {
            borderType: "solid",
            borderColor: "#CCC",
            borderWidth: 1,
            borderActive: "#F6F6F6",
          },
          borderRadius: 5,
          size: "md",
          backgroundColor: "#FFFFFFFF",
          textcolor: "#000",
          headingColor: "#005CB9",
          padding: padding,
        },
        text: {
          heading: "Select your date",
          subheading: "Please pick a date",
          InputPlaceholder: "Date",
        },
      };
      break;
  }
  return widgetData;
}

export const addToWidgetList = (widgetDataList, widgetType, insertAtIndex) => {
  widgetDataList.splice(insertAtIndex, 0, getWidgetData(widgetType));
  return widgetDataList;
};
