@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
35 lines (28 loc) • 972 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { NotificationSkeleton } from '../Notification';
import { styled } from '@mui/material/styles';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`
};
const Root = styled(NotificationSkeleton, {
name: PREFIX,
slot: 'SkeletonRoot'
})(() => ({}));
/**
* > API documentation for the Community-JS Toast Notifications Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
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.|
*
*/
export default function ToastNotificationsSkeleton() {
return _jsx(Root, { className: classes.root });
}