@selfcommunity/react-templates
Version:
React Templates Components to integrate a Community created with SelfCommunity.
36 lines (29 loc) • 1.12 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, styled } from '@mui/material';
import { UserProfileHeaderSkeleton } from '@selfcommunity/react-ui';
import UserFeedSkeleton from '../UserFeed/Skeleton';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`
};
const Root = styled(Box, {
name: PREFIX,
slot: 'SkeletonRoot'
})(() => ({}));
/**
* > API documentation for the Community-JS User Profile Skeleton Template. Learn about the available props and the CSS API.
#### Import
```jsx
import {UserProfileSkeleton} from '@selfcommunity/react-templates';
```
#### Component Name
The name `SCUserProfileTemplate-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCUserProfileTemplate-skeleton-root|Styles applied to the root element.|
*
*/
export default function UserProfileSkeleton() {
return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(UserProfileHeaderSkeleton, {}), _jsx(UserFeedSkeleton, {})] })));
}