UNPKG

@selfcommunity/react-ui

Version:

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

37 lines (30 loc) 1.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const material_1 = require("@mui/material"); const constants_1 = require("./constants"); const classes = { root: `${constants_1.PREFIX}-skeleton-root` }; const Root = (0, material_1.styled)(material_1.Box, { name: constants_1.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.| * */ function FooterSkeleton(props) { return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 10, style: { marginBottom: 10 } }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 10, width: "60%" })] }))); } exports.default = FooterSkeleton;