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 EventFeedSkeleton from '../EventFeed/Skeleton'; import { EventHeaderSkeleton } 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 {EventSkeletonTemplate} from '@selfcommunity/react-templates'; ``` #### Component Name The name `SCEventTemplate-skeleton-root` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCEventTemplate-skeleton-root|Styles applied to the root element.| * */ export default function EventSkeletonTemplate() { return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(EventHeaderSkeleton, {}), _jsx(EventFeedSkeleton, {})] }))); }