@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
18 lines (17 loc) • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const material_1 = require("@mui/material");
const constants_1 = require("./constants");
const classes = {
root: `${constants_1.PREFIX}-skeleton-root`
};
const Root = (0, material_1.styled)(material_1.Stack, {
name: constants_1.PREFIX,
slot: 'SkeletonRoot',
overridesResolver: (_props, styles) => styles.skeletonRoot
})(() => ({}));
function CourseFormSkeleton() {
return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "103px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "50px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "text", width: "86px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: "100%", height: "236px" })] })));
}
exports.default = CourseFormSkeleton;