Skip to main content

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 NameGlobal classDescription
root.SCCategoryTrendingFeedWidget-rootStyles applied to the root element.
title.SCCategoryTrendingFeedWidget-titleStyles applied to the title element.
noResults.SCCategoryTrendingFeedWidget-no-resultsStyles applied to no results section.
showMore.SCCategoryTrendingFeedWidget-show-moreStyles applied to show more button element.
dialogRoot.SCCategoryTrendingFeedWidget-dialog-rootStyles applied to dialog root element.
endMessage.SCCategoryTrendingFeedWidget-end-messageStyles applied to the end message element.

Parameters

NameType
inPropsCategoryTrendingFeedWidgetProps

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 NameGlobal classDescription
root.SCCategoryTrendingFeedWidget-skeleton-rootStyles applied to the root element.
list.SCCategoryTrendingFeedWidget-listStyles applied to the list element.

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CategoryTrendingFeedWidget/Skeleton.tsx:40