Skip to main content

Module: CommentsObject

Interfaces

Functions

CommentsObject

CommentsObject(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCCommentsObject-rootStyles applied to the root element.
pagination.SCCommentsObject-paginationStyles applied to the pagination controls.
paginationLink.SCCommentsObject-pagination-linkStyles applied to the pagination link.
loadNextCommentsButton.SCCommentsObject-load-next-comments-buttonStyles applied to the load next comments button.
loadPreviousCommentsButton.SCCommentsObject-load-previous-comments-buttonStyles applied to the load previous comments button.
commentsCounter.SCCommentsObject-comments-counterStyles applied to the comments counter element.

Parameters

NameType
inPropsCommentsObjectProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CommentsObject/CommentsObject.tsx:254


CommentsObjectSkeleton

CommentsObjectSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

NameType
propsObject
props.CommentObjectSkeletonProps?any
props.count?number

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CommentsObject/Skeleton.tsx:36