"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 material_1 = require("@mui/material");
const List_1 = tslib_1.__importDefault(require("@mui/material/List"));
const Skeleton_1 = tslib_1.__importDefault(require("../Group/Skeleton"));
const PREFIX = 'SCUserSubscribedGroupsWidgetSkeleton';
const classes = {
    root: `${PREFIX}-skeleton-root`,
    list: `${PREFIX}-list`
};
const Root = (0, styles_1.styled)(Widget_1.default, {
    name: PREFIX,
    slot: 'SkeletonRoot'
})(() => ({}));
/**
 * > API documentation for the Community-JS User Profile Categories Followed Widget Skeleton component. Learn about the available props and the CSS API.

 #### Import

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

 #### Component Name

 The name `SCUserCategoriesFollowedWidget-skeleton-root` can be used when providing style overrides in the theme.

 #### CSS

 |Rule Name|Global class|Description|
 |---|---|---|
 |root|.SCUserSubscribedGroupsWidget-skeleton-root|Styles applied to the root element.|
 *
 */
function UserSubscribedGroupsWidgetSkeleton(props) {
    return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.CardContent, { children: (0, jsx_runtime_1.jsx)(List_1.default, Object.assign({ className: classes.list }, { children: [...Array(3)].map((category, index) => ((0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { elevation: 0 }) }, index))) })) }), ");"] })));
}
exports.default = UserSubscribedGroupsWidgetSkeleton;
