@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
37 lines (30 loc) • 1.14 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box } from '@mui/material';
import { styled } from '@mui/material/styles';
import Skeleton from '@mui/material/Skeleton';
const PREFIX = 'SCUserProfileEditSectionSettingsSkeleton';
const classes = {
root: `${PREFIX}-root`
};
const Root = styled(Box, {
name: PREFIX,
slot: 'Root',
overridesResolver: (props, styles) => styles.root
})(() => ({}));
/**
* > API documentation for the Community-JS Settings Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {SettingsSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCUserProfileEditSectionSettingsSkeleton` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCUserProfileEditSectionSettingsSkeleton-root|Styles applied to the root element.|
*
*/
export default function SettingsSkeleton() {
return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(Skeleton, {}), _jsx(Skeleton, {}), _jsx(Skeleton, {})] })));
}