Skip to main content

Module: SnippetNotifications

Interfaces

Functions

SnippetNotifications

SnippetNotifications(inProps): JSX.Element

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

This component renders the notification list. Take a look at our demo component here

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCSnippetNotification-rootStyles applied to the root element.
notificationsWrap.SCSnippetNotification-notification-wrapStyles applied to the notifications wrap.
emptyBoxNotifications.SCSnippetNotification-empty-box-notificationsStyles applied to the box indicating that there are no notifications.
list.SCSnippetNotification-listStyles applied to the list of notifications.
item.SCSnippetNotification-itemStyles applied to the single notification.
broadcastMessagesBanner.SCSnippetNotification-broadcast-messages-bannerStyles applied to the broadcast message banner.

Parameters

NameType
inPropsSnippetNotificationsProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/SnippetNotifications/SnippetNotifications.tsx:154


SnippetNotificationsSkeleton

SnippetNotificationsSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCSnippetNotification-skeleton-rootStyles applied to the root element.
item.SCSnippetNotification-itemStyles applied to the item element.

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/SnippetNotifications/Skeleton.tsx:42