Whether the viewer is in editing mode
The file to be displayed
The list of files currently opened in the viewer
Whether the sidebar is shown
OptionallocalOptional client-side source to display instead of fetching from the server
(e.g. an object URL for a freshly edited image not yet reflected in the
server preview). Handlers that support it should prefer this over file.
The max height of the viewer container
The max width of the viewer container
List of props provided to your custom component. Use it like this: