From 10e94014c7f1861a7411cdcff6eaf52ac5125cb0 Mon Sep 17 00:00:00 2001 From: PolariTOON <36267812+PolariTOON@users.noreply.github.com> Date: Wed, 30 Nov 2022 12:36:35 +0100 Subject: [PATCH] docs: Add an example of a file with many panel blocks in the viewer Including an expiration alert. --- react/Viewer/Readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/react/Viewer/Readme.md b/react/Viewer/Readme.md index 184e219a68..210053582b 100644 --- a/react/Viewer/Readme.md +++ b/react/Viewer/Readme.md @@ -100,7 +100,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',