Skip to main content

Module: PrivateMessageSnippetItem

Interfaces

Functions

PrivateMessageSnippetItem

PrivateMessageSnippetItem(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCPrivateMessageSnippetItem-rootStyles applied to the root element.
username.SCPrivateMessageSnippetItem-usernameStyles applied to the username element.
badgeLabel.SCPrivateMessageSnippetItem-badgeLabelStyles applied to the badgeLabel element.
time.SCPrivateMessageSnippetItem-timeStyles applied to the time element.
menuItem.SCPrivateMessageSnippetItem-menu-itemStyles applied to the menu item element.
unread.SCPrivateMessageSnippetItem-unreadStyles applied to snippet item if there's an unread message.

Parameters

NameType
inPropsPrivateMessageSnippetItemProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.tsx:82


PrivateMessageSnippetItemSkeleton

PrivateMessageSnippetItemSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/PrivateMessageSnippetItem/Skeleton.tsx:41