Caption Provider
The Caption Provider displays captions around a child component. This can be used to caption Images or Embeds.

A 3D render done in Unreal Engine 4.
#
ExampleAn Image with captions
<CaptionProvider caption="A 3D render done in Unreal Engine 4." source="Faraz Shaikh - UE4 (2020)" sourceUrl="https://www.artstation.com/artwork/3oNzOE" > <Image src="https://cdnb.artstation.com/p/assets/images/images/023/618/593/large/faraz-shaikh-sign-1-1-1.jpg?1579790914" /></CaptionProvider>
#
PropsProp | Type | Default | Required |
---|---|---|---|
caption | string | none | false |
source | string | "Source" | false |
sourceUrl | string | none | false |
caption
#
The caption to the image.
source
#
The text for the link to the source.
sourceUrl
#
The URL of the source. If not present, the source line will not be shown.