@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
35 lines (28 loc) • 940 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { GenericSkeleton } from '../Skeleton';
import { styled } from '@mui/material/styles';
import { PREFIX } from './constants';
const classes = {
root: `${PREFIX}-skeleton-root`
};
const Root = styled(GenericSkeleton, {
name: PREFIX,
slot: 'SkeletonRoot'
})(() => ({}));
/**
* > API documentation for the Community-JS Message Editor Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {PrivateMessageEditorSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCMessageEditorSkeleton` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCMessageEditorSkeleton-root|Styles applied to the root element.|
*
*/
export default function PrivateMessageEditorSkeleton() {
return _jsx(Root, { className: classes.root });
}