@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
15 lines (14 loc) • 1.06 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Skeleton, Stack, styled } from '@mui/material';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`
};
const Root = styled(Stack, {
name: PREFIX,
slot: 'SkeletonRoot',
overridesResolver: (_props, styles) => styles.skeletonRoot
})(() => ({}));
export default function CourseFormSkeleton() {
return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "103px" }), _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), _jsx(Skeleton, { animation: "wave", variant: "text", width: "86px", height: "21px" }), _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "236px" })] })));
}