Publication

Publication

Renders an individual publication.

import { Publication } from "@lens-protocol/react-native-lens-ui-kit";
<Publication publication={publication} />;

Default props

publication = undefined (required)
signedInUser = null
hideLikes = false
hideComments = false
hideMirrors = false
hideCollects = false
# Functions
onCollectPress = publication => console.log({ publication })
onCommentPress = publication => console.log({ publication })
onMirrorPress= publication => console.log({ publication })
onLikePress = publication => console.log({ publication })
onProfileImagePress = publication => console.log({ publication })

Styles

PublicationStyles (opens in a new tab)

Last updated on January 4, 2023