Entry.EntryCard
Components
EntryCard()
EntryCard(
props
,context
?):ReactNode
Parameters
Parameter | Type |
---|---|
props | EntryCardProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/Entry/EntryCard/index.tsx:83
Props
EntryCardProps
EntryCardProps:
object
&BeamProps
|ReflectProps
Type declaration
Member | Type |
---|---|
actionsRight | ReactNode |
contentClickable | boolean |
ctaLabel | string |
customStyle | string |
dataTestId | string |
disableActions | boolean |
disableReporting | boolean |
editLabel | string |
editable | boolean |
entryData | EntryData |
flagAsLabel | string |
hideActionButtons | boolean |
hover | boolean |
isLoggedIn | boolean |
isViewer | boolean |
lastEntry | boolean |
moderated | object |
moderated.author | React.ReactNode |
moderated.others | React.ReactNode |
moderatedContentLabel | string |
noWrapperCard | boolean |
notEditableLabel | string |
nsfw | Omit <NSFWProps , "onClickToView" > |
nsfwUserSetting | boolean |
onContentClick | () => void |
onEdit | () => void |
onEntryFlag | () => void |
onEntryRemove | (itemId ) => void |
onMentionClick | (profileId ) => void |
onReflect | () => void |
onTagClick | (tag ) => void |
profileAvatar | ReactNode |
ref | Ref <HTMLDivElement > |
reflectAnchorLink | string |
reflectionsCount | number |
removeEntryLabel | string |
removed | object |
removed.author | React.ReactNode |
removed.others | React.ReactNode |
showHiddenContent | boolean |
showLoginModal | (title ?, message ?) => void |
showNSFWCard | boolean |
Source
libs/design-system-components/src/components/Entry/EntryCard/index.tsx:36