JSFiddle - React, Tailwind, and code Playground

by dshilkret

JavaScript

var res = {
    "results": [
        {
            "Path": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/Dev1Lib1/AirBNB 1 3.pdf",
            "type": "Edm.Int32",
            "metadata": {
                "type": "SP.KeyValue"
            },
            "OrgUrls": null,
            "Filename": "AirBNB 1 3.pdf",
            "Title": "Airbnb Receipt, Confirmation Code DXSY2K",
            "HierarchyUrl": null,
            "ModifiedOWSDate": "2022-11-10T21:47:35Z",
            "ModifiedBy": "ServiceNowAdmin",
            "DocumentLink": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/Dev1Lib1/AirBNB 1 3.pdf",
            "Created": "2022-11-10T21:47:34.0000000Z",
            "ListItemID": "3847",
            "ServerRedirectedPreviewURL": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/_layouts/15/WopiFrame.aspx?sourcedoc={ce0ae47a-3a3d-45e5-a487-54651823d25f}&action=imagepreview",
            "ListID": "4c621a04-8fe0-4f50-a690-08ceb25b8513",
            "DefaultEncodingURL": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/Dev1Lib1/AirBNB%201%203.pdf",
            "ServerRedirectedEmbedURL": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/_layouts/15/WopiFrame.aspx?sourcedoc={ce0ae47a-3a3d-45e5-a487-54651823d25f}&action=interactivepreview",
            "FileType": "pdf",
            "FileExtension": "pdf",
            "Author": "david;ServiceNowAdmin",
            "SPSiteURL": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1",
            "ParentLink": "https://dtecho365.sharepoint.com/sites/ServiceNowDev1/Dev1Lib1/Forms/AllItems.aspx",
            "ServerRedirectedURL": null,
            "ResultTypeIdList": "0",
            "ResultTypeId": "0",
            "RenderTemplateId": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
            "piSearchResultId": "ARIAǂb2ab72f0-2d5b-b4fb-22ae-0cc6019bdcd9ǂfe888c80-3b74-44a9-bf58-5499a7a9a450ǂb2ab72f0-2d5b-b4fb-22ae-0cc6019bdcd9.1000.1ǂ",
           ...