"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
const styles_1 = require("@mui/material/styles");
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
const material_1 = require("@mui/material");
const PREFIX = 'SCGenericSkeleton';
const classes = {
    root: `${PREFIX}-root`,
    list: `${PREFIX}-list`
};
const Root = (0, styles_1.styled)(Widget_1.default)(({ theme }) => ({}));
/**
 * > API documentation for the Community-JS Generic Skeleton component. Learn about the available props and the CSS API.

 #### Import

 ```jsx
 import {GenericSkeleton} from '@selfcommunity/react-ui';
 ```

 #### Component Name

 The name `SCGenericSkeleton` can be used when providing style overrides in the theme.

 #### CSS

 |Rule Name|Global class|Description|
 |---|---|---|
 |root|.SCGenericSkeleton-root|Styles applied to the root element.|
 |list|.SCGenericSkeleton-list|Styles applied to the list element.|
 *
 */
function GenericSkeleton(props) {
    return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, props, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: "wave", height: 10, style: { marginBottom: 10 } }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 5 } }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: "wave", height: 10, width: "60%", style: { marginBottom: 5 } })] }) })));
}
exports.default = GenericSkeleton;
