ComposerLinkPreview

fun ComposerLinkPreview(modifier: Modifier = Modifier, linkPreview: LinkPreview, onClick: (linkPreview: LinkPreview) -> Unit? = null)

Shows the link image preview, the title of the link as well as its description.

When clicking it, we open the preview link.

Parameters

linkPreview
  • The link preview to show.

modifier

Modifier for styling.

onClick

Lambda called when an item gets clicked.