UNPKG

@selfcommunity/react-templates

Version:

React Templates Components to integrate a Community created with SelfCommunity.

36 lines (29 loc) 1.1 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box, styled } from '@mui/material'; import GroupFeedSkeleton from '../GroupFeed/Skeleton'; import { GroupHeaderSkeleton } from '@selfcommunity/react-ui'; import { PREFIX } from './constants'; const classes = { root: `${PREFIX}-skeleton-root` }; const Root = styled(Box, { name: PREFIX, slot: 'SkeletonRoot' })(() => ({})); /** * > API documentation for the Community-JS Group Skeleton Template. Learn about the available props and the CSS API. #### Import ```jsx import {GroupSkeletonTemplate} from '@selfcommunity/react-templates'; ``` #### Component Name The name `SCGroupTemplate-skeleton-root` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCGroupTemplate-skeleton-root|Styles applied to the root element.| * */ export default function GroupSkeletonTemplate() { return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(GroupHeaderSkeleton, {}), _jsx(GroupFeedSkeleton, {})] }))); }