-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.js
More file actions
42 lines (42 loc) · 833 Bytes
/
data.js
File metadata and controls
42 lines (42 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export const data = [
{
id: "n0",
content: "n0 lorem ipsum nesting level 0",
Author: "John Doe",
createdAt: "2020-01-01",
parentId: null,
likes: 0,
},
{
id: "n1",
content: "n1 second comment of nesting level 0",
Author: "John Doe",
createdAt: "2020-01-01",
parentId: null,
likes: 2,
},
{
id: "n2",
content: "n2 first comment of nesting level 1",
Author: "John Doe",
createdAt: "2020-01-01",
parentId: "n0",
likes: 10,
},
{
id: "n3",
content: "n3 second comment of nesting level 1",
Author: "John Doe",
createdAt: "2020-01-01",
parentId: "n1",
likes: 0,
},
{
id: "n4",
content: "n4 first comment of nesting level 2",
Author: "John Doe",
createdAt: "2020-01-01",
parentId: "n3",
likes: 0,
},
];