@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
36 lines (29 loc) • 1.13 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { styled } from '@mui/material/styles';
import { Box } from '@mui/material';
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 Footer Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {FooterSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCFooter-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCFooter-skeleton-root|Styles applied to the root element.|
*
*/
export default function FooterSkeleton(props) {
return (_jsxs(Root, Object.assign({ className: classes.root }, props, { children: [_jsx(Skeleton, { animation: "wave", height: 10, style: { marginBottom: 10 } }), _jsx(Skeleton, { animation: "wave", height: 10, width: "60%" })] })));
}