Constructor
# new Image(props) → {React.ReactElement}
Overview
Displays images from manual as a composition of three HTML tags:figure
, img
and figcaption
.
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | |
aria-label |
string | The aria-label attribute of the figcaption element. |
caption |
React.ReactNode | The content of the figcaption element. |
height |
number | string | The height of the figure element. |
src |
string | The src attribute of the img element. |
width |
number | string | The width of the figure element. |
React.ReactElement