Skip to main content

Module: CommentsFeedObject

Interfaces

Functions

CommentsFeedObject

CommentsFeedObject(inProps): JSX.Element

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

This component renders a list of comment items. Take a look at our demo component here

Import

import {CommentsFeedObject} from '@selfcommunity/react-ui';

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCCommentsFeedObject-rootStyles applied to the root element.
noComments.SCCommentsFeedObject-no-commentsStyles applied to the 'no comments' section.
commentNotFound.SCCommentsFeedObject-comment-not-foundStyles applied to the label 'Comment not found'.

Parameters

NameType
inPropsCommentsFeedObjectProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.tsx:189


CommentsFeedObjectSkeleton

CommentsFeedObjectSkeleton(props): JSX.Element

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CommentsFeedObject/Skeleton.tsx:15