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 Name | Global class | Description |
---|---|---|
root | .SCCommentsFeedObject-root | Styles applied to the root element. |
noComments | .SCCommentsFeedObject-no-comments | Styles applied to the 'no comments' section. |
commentNotFound | .SCCommentsFeedObject-comment-not-found | Styles applied to the label 'Comment not found'. |
Parameters
Name | Type |
---|---|
inProps | CommentsFeedObjectProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.tsx:189
CommentsFeedObjectSkeleton
▸ CommentsFeedObjectSkeleton(props
): JSX.Element
Parameters
Name | Type |
---|---|
props | any |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CommentsFeedObject/Skeleton.tsx:15