Skip to main content

Module: PrivateMessageThread

Interfaces

Functions

PrivateMessageThread

PrivateMessageThread(inProps): JSX.Element

API documentation for the Community-JS PrivateMessage Thread component. Learn about the available props and the CSS API.

This component renders the conversation between two users. Take a look at our demo component here

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCPrivateMessageThread-rootStyles applied to the root element.
subHeader.SCPrivateMessageThread-subheaderStyles applied to thread list subheader element.
section.SCPrivateMessageThread-sectionStyles applied to the list section
emptyMessage.SCPrivateMessageThread-empty-messageStyles applied to the empty message element.
newMessageHeader.SCPrivateMessageThread-new-message-headerStyles applied to the new message header section.
newMessageHeaderContent.SCPrivateMessageThread-new-message-header-contentStyles applied to the new message header content.
newMessageHeaderIcon.SCPrivateMessageThread-new-message-header-iconStyles applied to the new message header icon element.
newMessageContent.SCPrivateMessageThread-new-message-contentStyles applied to the new message content.
sender.SCPrivateMessageThread-senderStyles applied to the sender element.
receiver.SCPrivateMessageThread-receiverStyles applied to the receiver element.
autocomplete.SCPrivateMessageThread-autocompleteStyles applied to autocomplete element.
autocompleteDialog.SCPrivateMessageThread-autocomplete-dialogStyles applied to autocomplete dialog element.
editor.SCPrivateMessageThread-editorStyles applied to the editor element.

Parameters

NameType
inPropsPrivateMessageThreadProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/PrivateMessageThread/PrivateMessageThread.tsx:129


PrivateMessageThreadSkeleton

PrivateMessageThreadSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCPrivateMessageThread-skeleton-rootStyles applied to the root element.
list.SCPrivateMessageThread-listStyles applied to the list element.

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/PrivateMessageThread/Skeleton.tsx:40