Skip to content

Commit 10e9401

Browse files
committed
docs: Add an example of a file with many panel blocks in the viewer
Including an expiration alert.
1 parent 5440245 commit 10e9401

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

react/Viewer/Readme.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,16 @@ const files = [
100100
_id: 'image',
101101
class: 'image',
102102
name: 'Demo.jpg',
103-
mime: 'image/jpg'
103+
mime: 'image/jpg',
104+
metadata: {
105+
carbonCopy: true,
106+
electronicSafe: true,
107+
referencedDate: new Date(Date.now() - 357 * 24 * 60 * 60 * 1000).toISOString(),
108+
datetimeLabel: "referencedDate",
109+
qualification: {
110+
label: 'personal_sporting_licence'
111+
}
112+
}
104113
},
105114
{
106115
_id: 'none',

0 commit comments

Comments
 (0)