UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

38 lines (31 loc) 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const Skeleton_1 = require("../Skeleton"); const styles_1 = require("@mui/material/styles"); const constants_1 = require("./constants"); const classes = { root: `${constants_1.PREFIX}-skeleton-root` }; const Root = (0, styles_1.styled)(Skeleton_1.GenericSkeleton, { name: constants_1.PREFIX, slot: 'SkeletonRoot' })(() => ({})); /** * > API documentation for the Community-JS Editor Skeleton component. Learn about the available props and the CSS API. #### Import ```jsx import {EditorSkeleton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCEditor-skeleton-root` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCEditor-skeleton-root|Styles applied to the root element.| * */ function EditorSkeleton() { return (0, jsx_runtime_1.jsx)(Root, { className: classes.root }); } exports.default = EditorSkeleton;