import { jsx as _jsx } from "react/jsx-runtime";
import { styled } from '@mui/material/styles';
import UserSkeleton from '../User/Skeleton';
import Widget from '../Widget';
import { List, CardContent, ListItem } from '@mui/material';
import { PREFIX } from './constants';
const classes = {
    root: `${PREFIX}-skeleton-root`,
    list: `${PREFIX}-list`
};
const Root = styled(Widget, {
    name: PREFIX,
    slot: 'SkeletonRoot'
})(() => ({}));
/**
 * > API documentation for the Community-JS People Suggestion Skeleton component. Learn about the available props and the CSS API.

 #### Import

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

 #### Component Name

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

 #### CSS

 |Rule Name|Global class|Description|
 |---|---|---|
 |root|.SCUserSuggestionWidget-skeleton-root|Styles applied to the root element.|
 |list|.SCUserSuggestionWidget-list|Styles applied to the list element.|
 *
 */
function UserSuggestionWidgetSkeleton(props) {
    return (_jsx(Root, Object.assign({ className: classes.root }, props, { children: _jsx(CardContent, { children: _jsx(List, Object.assign({ className: classes.list }, { children: [...Array(4)].map((user, index) => (_jsx(ListItem, { children: _jsx(UserSkeleton, { elevation: 0 }) }, index))) })) }) })));
}
export default UserSuggestionWidgetSkeleton;
