Module: CategoryTrendingFeedWidget
Interfaces
Functions
CategoryTrendingFeedWidget
▸ CategoryTrendingFeedWidget(inProps
): JSX.Element
API documentation for the Community-JS Trending Feed Widget component. Learn about the available props and the CSS API.
This component renders a specific category's trending posts, discussions, statuses list. Take a look at our demo component here
Import
import {CategoryTrendingFeedWidget} from '@selfcommunity/react-ui';
Component Name
The name SCCategoryTrendingFeedWidget
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoryTrendingFeedWidget-root | Styles applied to the root element. |
title | .SCCategoryTrendingFeedWidget-title | Styles applied to the title element. |
noResults | .SCCategoryTrendingFeedWidget-no-results | Styles applied to no results section. |
showMore | .SCCategoryTrendingFeedWidget-show-more | Styles applied to show more button element. |
dialogRoot | .SCCategoryTrendingFeedWidget-dialog-root | Styles applied to dialog root element. |
endMessage | .SCCategoryTrendingFeedWidget-end-message | Styles applied to the end message element. |
Parameters
Name | Type |
---|---|
inProps | CategoryTrendingFeedWidgetProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.tsx:127
CategoryTrendingFeedWidgetSkeleton
▸ CategoryTrendingFeedWidgetSkeleton(props
): JSX.Element
API documentation for the Community-JS Trending Feed Widget Skeleton component. Learn about the available props and the CSS API.
Import
import {CategoryTrendingFeedWidgetSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCCategoryTrendingFeedWidget-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoryTrendingFeedWidget-skeleton-root | Styles applied to the root element. |
list | .SCCategoryTrendingFeedWidget-list | Styles applied to the list element. |
Parameters
Name | Type |
---|---|
props | any |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CategoryTrendingFeedWidget/Skeleton.tsx:40