Package 

Class ComposerLinkPreviewKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.