Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImagePreviewProps

Hierarchy

  • object
    • ImagePreviewProps

Index

Properties

Optional fileName

fileName: undefined | string

A file name that will be used when downloading the file.

isLoading

isLoading: boolean

When true a spinner will displayed in place of the image

isVisible

isVisible: boolean

Whether the modal with image preview is displayed

Optional objectUrl

objectUrl: undefined | string

An object URL representing the image. See documentation for object URL.

onClose

onClose: function

A callback that will be executed when the modal is closed.

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc