PrivateMessageSnippets
Interfaces
PrivateMessageSnippetsProps
Extends
CardProps
Indexable
[p
: string
]: any
Any other properties
Properties
Functions
PrivateMessageSnippets()
PrivateMessageSnippets(
inProps
):Element
API documentation for the Community-JS PrivateMessageSnippets component. Learn about the available props and the CSS API.
This component renders the list of conversations preview between users. Take a look at our demo component here
Import
import {PrivateMessageSnippets} from '@selfcommunity/react-ui';
Component Name
The name SCPrivateMessageSnippets
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCPrivateMessageSnippets-root | Styles applied to the root element. |
icon | .SCPrivateMessageSnippets-icon | Styles applied to the search icon element. |
input | .SCPrivateMessageSnippets-input | Styles applied to the search input element. |
clear | .SCPrivateMessageSnippets-clear | Styles applied to the search bar clear icon element. |
searchBar | .SCPrivateMessageSnippets-searchBar | Styles applied to the search bar element. |
newMessageButton | .SCPrivateMessageSnippets-new-message-button | Styles applied to new message button element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | PrivateMessageSnippetsProps |
Returns
Element
PrivateMessageSnippetsSkeleton()
PrivateMessageSnippetsSkeleton(
props
):Element
API documentation for the Community-JS PrivateMessageSnippets Skeleton component. Learn about the available props and the CSS API.
Import
import {PrivateMessageSnippetsSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCPrivateMessageSnippets-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCPrivateMessageSnippets-skeleton-root | Styles applied to the root element. |
searchBar | .SCPrivateMessageSnippets-search-bar | Styles applied to the search bar element. |
button | .SCPrivateMessageSnippets-button | Styles applied to the button element. |
list | .SCPrivateMessageSnippets-list | Styles applied to the list element. |
Parameters
Parameter | Type |
---|---|
props | any |
Returns
Element