@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
38 lines (31 loc) • 1.24 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { Toolbar } 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`,
logo: `${PREFIX}-logo`
};
const Root = styled(Toolbar, {
name: PREFIX,
slot: 'SkeletonRoot'
})(() => ({}));
/**
* > API documentation for the Community-JS Navigation Toolbar Mobile Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {NavigationToolbarMobileSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCNavigationToolbarMobileSkeleton` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCNavigationToolbarMobileSkeleton-root|Styles applied to the root element.|
|logo|.SCNavigationToolbarMobileSkeleton-logo|Styles applied to the logo element.|
*
*/
export default function NavigationToolbarMobileSkeleton() {
return (_jsx(Root, Object.assign({ className: classes.root }, { children: _jsx(Skeleton, { className: classes.logo, animation: "wave", variant: "rectangular" }) })));
}