Skip to content

Commit 75a5d0b

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

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
@@ -122,7 +122,16 @@ const files = [
122122
_id: 'image',
123123
class: 'image',
124124
name: 'Demo.jpg',
125-
mime: 'image/jpg'
125+
mime: 'image/jpg',
126+
metadata: {
127+
carbonCopy: true,
128+
electronicSafe: true,
129+
referencedDate: new Date(Date.now() - 357 * 24 * 60 * 60 * 1000).toISOString(),
130+
datetimeLabel: "referencedDate",
131+
qualification: {
132+
label: 'personal_sporting_licence'
133+
}
134+
}
126135
},
127136
{
128137
_id: 'none',

0 commit comments

Comments
 (0)