Package 

Class ComposerLinkPreviewKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ComposerLinkPreview(Modifier modifier, LinkPreview linkPreview, Function1<LinkPreview, Unit> onContentClick, Function0<Unit> onCancelClick) 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> onContentClick, Function0<Unit> onCancelClick)

        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.

        onContentClick - The handler called when the content is clicked.
        onCancelClick - The handler called when the cancel button is clicked.