@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
17 lines (16 loc) • 2.24 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { CardContent, Skeleton, Stack, styled } from '@mui/material';
import Widget from '../Widget';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`,
content: `${PREFIX}-content`
};
const Root = styled(Widget, {
name: PREFIX,
slot: 'SkeletonRoot',
overridesResolver: (_props, styles) => styles.root
})(() => ({}));
export default function EventInfoWigetSkeleton() {
return (_jsx(Root, Object.assign({ className: classes.root }, { children: _jsxs(CardContent, Object.assign({ className: classes.content }, { children: [_jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "8px" }, { children: [_jsx(Skeleton, { animation: "wave", variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: "wave", width: "184px", height: "21px" })] })), _jsx(Skeleton, { animation: "wave", width: "100%" }), _jsx(Skeleton, { animation: "wave", width: "100%" }), _jsx(Skeleton, { animation: "wave", width: "50%" }), _jsxs(Stack, Object.assign({ gap: "16px", marginTop: "24px" }, { children: [_jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [_jsx(Skeleton, { animation: "wave", variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: "wave", width: "223px", height: "21px" })] })), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [_jsx(Skeleton, { animation: "wave", variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: "wave", width: "223px", height: "21px" })] })), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [_jsx(Skeleton, { animation: "wave", variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: "wave", width: "223px", height: "21px" })] })), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [_jsx(Skeleton, { animation: "wave", variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: "wave", width: "223px", height: "21px" })] }))] }))] })) })));
}