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 Name | Global class | Description |
---|---|---|
root | .SCToastNotifications-skeleton-root | Styles 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 Name | Global class | Description |
---|---|---|
root | .SCUserNotifications-root | Styles applied to the root element. |
toastMessage | .SCUserToastNotifications-toast-message | Styles applied to the toast message element. |
toastContent | .SCUserToastNotifications-toast-content | Styles applied to the toast content element. |
toastActions | .SCUserToastNotifications-toast-actions | Styles applied to the toast actions section. |
Parameters
Name | Type |
---|---|
inProps | ToastNotificationsProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/ToastNotifications/ToastNotifications.tsx:71