ui/ImageItem
Unstyled image item components and behaviors to be customized by a theme or application.
Members
Section titled “Members ”ImageItem Component
Section titled “ImageItem   Component ”A minimally styled ImageItem ready for customization by a theme.
Extends:
ui/ImageItemui/ImageItem.ImageItemBase
Wrapped with:
ui/ImageItemui/ImageItem.ImageItemDecorator
ImageItemBase Component
Section titled “ImageItemBase   Component ”A basic image item without any behavior.
Properties
children
Section titled “children”The caption displayed with the image.
Called with a reference to the root component.
When using ui/ImageItemui/ImageItem.ImageItem, the ref prop is forwarded to this component
as componentRef.
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
imageItem- The root component classcaption- The caption component classhorizontal- Applied when `orientation="horizontal"image- The image component classselected- Applied whenselectedprop istruevertical- Applied when `orientation="vertical"
The component used to render the image component.
The layout orientation of the component.
Default: 'vertical'placeholder
Section titled “placeholder”A placeholder image to be displayed before the image is loaded.
selected
Section titled “selected”Applies a selected visual effect to the image.
Default: falseslotBefore
Section titled “slotBefore”Nodes to be inserted before image.
For LTR locales, the nodes are inserted to the left of the image. For RTL locales, the nodes are inserted to the right. If nothing is specified, nothing, not even an empty container, is rendered in this place.
String value or Object of values used to determine which image will appear on a specific screenSize.
ImageItemDecorator Higher-Order Component
Section titled “ImageItemDecorator   Higher-Order Component ”A higher-order component that adds behaviors to an ui/ImageItemui/ImageItem.ImageItemBase.
Includes:
ui/ForwardRefui/ForwardRef.ForwardRef