LightBox

Eine LightBox zeigt Bilder vergrößert als Overlay mit abgedunkeltem Hintergrund.GitHubMarkdown

Properties

PropertyTypeDescription
controller
OverlayController
An overlay controller to control the light box state.
fitScreen
booleanDefault: true
Whether content can be displayed larger than the available space in the screen.
children
ReactNode
wrapWith
ReactElement<unknown, string | JSXElementConstructor<any>>
ref
Ref<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
key
Key
className
string
The elements class name.

Auf dieser Seite