LessonCommentObject
Interfaces
LessonCommentObjectProps
Indexable
[p: string]: any
Other props
Properties
Functions
LessonCommentObject()
LessonCommentObject(
inProps):Element
API documentation for the Community-JS Comment Object component. Learn about the available props and the CSS API.
This component renders a comment item. Take a look at our demo component here
Import
import {CommentObject} from '@selfcommunity/react-ui';
Component Name
The name SCCommentObject can be used when providing style overrides in the theme.
CSS
| Rule Name | Global class | Description | 
|---|---|---|
| root | .SCCommentObject-root | Styles applied to the root element. | 
| comment | .SCCommentObject-comment | Styles applied to comment element. | 
| avatar | .SCCommentObject-avatar | Styles applied to the avatar element. | 
| author | .SCCommentObject-author | Styles applied to the author section. | 
| content | .SCCommentObject-content | Styles applied to content section. | 
| textContent | .SCCommentObject-text-content | Styles applied to text content section. | 
| mediaContent | .SCCommentObject-media-content | Styles applied to media content section. | 
| commentActionsMenu | .SCCommentObject-comment-actions-menu | Styles applied to comment action menu element. | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
| inProps | LessonCommentObjectProps | 
Returns
Element
LessonCommentObjectSkeleton()
LessonCommentObjectSkeleton(
props):Element
API documentation for the Community-JS Lesson Comment Object Skeleton component. Learn about the available props and the CSS API.
Import
import {LessonCommentObjectSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCLessonCommentObject-skeleton-root can be used when providing style overrides in the theme.
CSS
| Rule Name | Global class | Description | 
|---|---|---|
| root | .SCLessonCommentObject-skeleton-root | Styles applied to the root element. | 
Parameters
| Parameter | Type | 
|---|---|
| props | any | 
Returns
Element