Skip to main content

LessonCommentObjects

Interfaces

LessonCommentObjectsProps

Indexable

[p: string]: any

Other props

Properties

PropertyTypeDescription
cacheStrategy?CacheStrategiesCaching strategies Default CacheStrategies.CACHE_FIRST
className?stringOverrides or extends the styles applied to the component. Default null
CommentComponentProps?LessonCommentObjectPropsProps to spread to single comment object Default {}
CommentObjectSkeletonProps?anyProps to spread to single comment object skeleton Default {elevation: 0},
CommentsObjectSkeletonProps?anyProps to spread to CommentsObjectSkeleton Default {}
id?stringId of the LessonCommentObjects Default lesson_comments_object_lessonObjectId
lessonObject?SCCourseLessonTypeLesson object Default null
lessonObjectId?numberId of lesson object Default null

Functions

LessonCommentObjects()

LessonCommentObjects(inProps): Element

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

Import

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

Component Name

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

CSS

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

Parameters

ParameterTypeDescription
inPropsLessonCommentObjectsProps

Returns

Element


LessonCommentObjectsSkeleton()

LessonCommentObjectsSkeleton(props): Element

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

Import

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

Component Name

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

CSS

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

Parameters

ParameterType
props{ count: number; }
props.count?number

Returns

Element