Skip to main content

Module: ToastNotifications

Interfaces

Functions

ToastNotificationsSkeleton

ToastNotificationsSkeleton(): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCToastNotifications-skeleton-rootStyles applied to the root element.

Returns

JSX.Element

Defined in

packages/react-ui/src/components/ToastNotifications/Skeleton.tsx:34


UserToastNotifications

UserToastNotifications(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCUserNotifications-rootStyles applied to the root element.
toastMessage.SCUserToastNotifications-toast-messageStyles applied to the toast message element.
toastContent.SCUserToastNotifications-toast-contentStyles applied to the toast content element.
toastActions.SCUserToastNotifications-toast-actionsStyles applied to the toast actions section.

Parameters

NameType
inPropsToastNotificationsProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/ToastNotifications/ToastNotifications.tsx:71