FeedObjectDetail
Interfaces
FeedObjectDetailProps
Properties
className?
optionalclassName:string
Overrides or extends the styles applied to the component.
Default
null
CommentsFeedObjectProps?
optionalCommentsFeedObjectProps:CommentsFeedObjectProps
Props to spread to CommentsFeedObject
Default
empty object
feedObject?
optionalfeedObject:SCFeedObjectType
Feed object
Default
null
feedObjectId?
optionalfeedObjectId:string|number
Id of feed object
Default
null
FeedObjectProps?
optionalFeedObjectProps:FeedObjectProps
Props to spread to single feed object
Default
empty object
feedObjectType?
optionalfeedObjectType:DISCUSSION|POST|STATUS
Type of feed object
Default
SCContributionType.POST
FeedSidebarProps?
optionalFeedSidebarProps:StickyBoxProps
Props to spread to the sidebar
Default
{}
id?
optionalid:string
Id of the feed object
Default
'feed'
RelatedFeedObjectProps?
optionalRelatedFeedObjectProps: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 Name | Global class | Description |
|---|---|---|
| root | .SCFeedObjectDetailTemplate-root | Styles applied to the root element. |
Parameters
| Parameter | Type | Description |
|---|---|---|
inProps | FeedObjectDetailProps |
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 Name | Global class | Description |
|---|---|---|
| root | .SCFeedObjectDetailTemplate-skeleton-root | Styles applied to the root element. |
Parameters
| Parameter | Type |
|---|---|
props | any |
Returns
Element