-
public final class ComposerLinkPreviewKt
-
-
Method Summary
Modifier and Type Method Description final static UnitComposerLinkPreview(Modifier modifier, LinkPreview linkPreview, Function1<LinkPreview, Unit> onClick)Shows the link image preview, the title of the link as well as its description. -
-
Method Detail
-
ComposerLinkPreview
@Composable() final static Unit ComposerLinkPreview(Modifier modifier, LinkPreview linkPreview, Function1<LinkPreview, Unit> onClick)
Shows the link image preview, the title of the link as well as its description.
When clicking it, we open the preview link.
- Parameters:
modifier- Modifier for styling.linkPreview-The link preview to show.
onClick- Lambda called when an item gets clicked.
-
-
-
-