UNPKG

@selfcommunity/react-ui

Version:

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

35 lines (28 loc) 1.05 kB
import { jsx as _jsx } from "react/jsx-runtime"; import CategoriesSuggestionWidgetSkeleton from '../CategoriesSuggestionWidget/Skeleton'; import { styled } from '@mui/material/styles'; import { PREFIX } from './constants'; const classes = { root: `${PREFIX}-skeleton-root` }; const Root = styled(CategoriesSuggestionWidgetSkeleton, { name: PREFIX, slot: 'SkeletonRoot' })(() => ({})); /** * > API documentation for the Community-JS Categories Popular Skeleton component. Learn about the available props and the CSS API. #### Import ```jsx import {CategoriesPopularSkeleton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCCategoriesPopularWidget-skeleton-root` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCCategoriesPopularWidget-skeleton-root|Styles applied to the root element.| * */ export default function CategoriesPopularSkeleton(props) { return _jsx(Root, Object.assign({ className: classes.root }, props)); }