Skip to content

Commit

Permalink
docs: Add an example of a file with many panel blocks in the viewer
Browse files Browse the repository at this point in the history
Including an expiration alert.
  • Loading branch information
PolariTOON committed Dec 7, 2022
1 parent 649d0c1 commit 5012c0f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion react/Viewer/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,16 @@ const files = [
_id: 'image',
class: 'image',
name: 'Demo.jpg',
mime: 'image/jpg'
mime: 'image/jpg',
metadata: {
carbonCopy: true,
electronicSafe: true,
referencedDate: new Date(Date.now() - 357 * 24 * 60 * 60 * 1000).toISOString(),
datetimeLabel: "referencedDate",
qualification: {
label: 'personal_sporting_licence'
}
}
},
{
_id: 'none',
Expand Down

0 comments on commit 5012c0f

Please sign in to comment.