Skip to main content

FeedObjectDetail

Interfaces

FeedObjectDetailProps

Properties

className?

optional className: string

Overrides or extends the styles applied to the component.

Default
null
CommentsFeedObjectProps?

optional CommentsFeedObjectProps: CommentsFeedObjectProps

Props to spread to CommentsFeedObject

Default
empty object
feedObject?

optional feedObject: SCFeedObjectType

Feed object

Default
null
feedObjectId?

optional feedObjectId: string | number

Id of feed object

Default
null
FeedObjectProps?

optional FeedObjectProps: FeedObjectProps

Props to spread to single feed object

Default
empty object
feedObjectType?

optional feedObjectType: DISCUSSION | POST | STATUS

Type of feed object

Default
SCContributionType.POST
FeedSidebarProps?

optional FeedSidebarProps: StickyBoxProps

Props to spread to the sidebar

Default
{}
id?

optional id: string

Id of the feed object

Default
'feed'
RelatedFeedObjectProps?

optional RelatedFeedObjectProps: RelatedFeedObjectWidgetProps

Props to spread to RelatedFeedObject

Default
empty object

Functions

FeedObjectDetail()

FeedObjectDetail(inProps): Element

API documentation for the Community-JS Feed Object Detail Template. Learn about the available props and the CSS API.

This component renders a specific feed object detail template. Take a look at our demo component here

Import

import {FeedObjectDetail} from '@selfcommunity/react-templates';

Component Name

The name SCFeedObjectDetailTemplate can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedObjectDetailTemplate-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsFeedObjectDetailProps

Returns

Element


FeedObjectDetailSkeleton()

FeedObjectDetailSkeleton(props): Element

API documentation for the Community-JS Feed Object Detail Skeleton Template. Learn about the available props and the CSS API.

Import

import {FeedObjectDetailSkeleton} from '@selfcommunity/react-templates';

Component Name

The name SCFeedObjectDetailTemplate-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedObjectDetailTemplate-skeleton-rootStyles applied to the root element.

Parameters

ParameterType
propsany

Returns

Element