JSFiddle - React, Tailwind, and code Playground
by Arvind Pal
JavaScript
var arry = [
{
"_id": "ThreadInput/38163311",
"_key": "38163311",
"_rev": "_aIQySRS--_",
"assigned_to": [
"Actor/28745465"
],
"content": "input 1",
"isPublished": true,
"license_id": "License/vujade",
"order": 10000,
"status": "DRAFT",
"title": "input 1 level1",
"type": "TEXT",
"ep": {
"_key": "38163313",
"_id": "T_TI_Map/38163313",
"_from": "Thread/816920259",
"_to": "ThreadInput/38163311",
"_rev": "_aIQxpBq--C",
"relation": "threadInput"
}
},
{
"_id": "ThreadInput/38163599",
"_key": "38163599",
"_rev": "_aIQ4HTK--_",
"assigned_to": [
"Actor/28745465"
],
"content": "input 1 level2",
"isPublished": true,
"license_id": "License/vujade",
"order": 10000,
"status": "DRAFT",
"title": "input 1 level2",
"type": "TEXT",
"ep": {
"_key": "38163601",
"_id": "T_TI_Map/38163601",
"_from": "ThreadInput/38163311",
"_to": "ThreadInput/38163599",
"_rev": "_aIQ4DPC--C",
"relation": "inputInput"
}
},
{
"_id": "ThreadInput/38163782",
"_key": "38163782",
"_rev": "_aIQ89oi---",
"assigned_to": [
"Actor/28745465"
],
"content": "​",
"isPublished": true,
"license_id": "License/vujade",
"order": 10000,
"status": "DRAFT",
"title": "input",
"type": "TEXT",
"ep": {
"_key": "38163784",
"_id": "T_TI_Map/38163784",
"_from": "ThreadInput/38163599",
"_to": "ThreadInput/38163782",
"_rev": "_aIQ89oi--C",
"relation": "inputInput"
}
},
{
"_id": "ThreadInput/38163879",
"_key": "38163879",
"_rev": "_aIR__ma---",
"assigned_to": [
"Actor/28745465"
],
"content": "input 1 level3",
"isPublished": true,
...