LightBox

Eine LightBox zeigt Bilder vergrößert und als Overlay mit abgedunkeltem Hintergrund an, um den Fokus auf den Inhalt zu legen.GitHubMarkdown

Properties

PropertyTypeDefaultDescription
controllerOverlayController-An overlay controller to control the light box state.
fitScreenbooleantrueWhether content can be displayed larger than the available space in the screen.
childrenReactNode-
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-
refRef<HTMLSpanElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
keyKey-
classNamestring-The elements class name.

Auf dieser Seite