@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
36 lines (29 loc) • 1.31 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Grid } from '@mui/material';
import { styled } from '@mui/material/styles';
import Skeleton from '@mui/material/Skeleton';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`
};
const Root = styled(Box, {
name: PREFIX,
slot: 'SkeletonRoot'
})(() => ({}));
/**
* > API documentation for the Community-JS User Profile Edit Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {UserProfileEditSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCUserProfileEdit-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCUserProfileEdit-skeleton-root|Styles applied to the root element.|
*
*/
export default function UserProfileEditSkeleton() {
return (_jsx(Root, Object.assign({ className: classes.root }, { children: _jsx(Grid, Object.assign({ container: true }, { children: _jsxs(Grid, Object.assign({ item: true, md: 12, sm: 12 }, { children: [_jsx(Skeleton, { animation: "wave", sx: { height: 20, width: '100%' } }), _jsx(Skeleton, { animation: "wave", sx: { height: 20, width: '100%' } })] })) })) })));
}