Skip to content
Preview

ImageViewer

imagesrequired
readonly T[]
indexrequired
number
from
HTMLElement | null
Default: null
around
ViewerAround<T>
label
(image: T) => string
Default: (i) => i.name ?? "Image"
who
(image: T) => ReactNode
caption
(image: T) => ReactNode
actions
(image: T) => readonly ViewerAction[]
placeOf
(image: T) => HTMLElement | null
onCloserequired
() => void
rootStyle
RootStyle<ImageViewerKnobs>

State machine

PreviewSelect a picture to open the viewer.