Skip to main content

Module: FeedUpdatesWidget

Interfaces

Functions

FeedUpdatesWidget

FeedUpdatesWidget(inProps): JSX.Element

API documentation for the Community-JS Feed Updates Widget component. Learn about the available props and the CSS API.

This component allows the subscription to updates from PubSub channel (e.g. websocket) and tell the feed to updates if necessary. Take a look at our demo component here

Import

import {FeedUpdatesWidget} from '@selfcommunity/react-ui';

Component Name

The name SCFeedUpdatesWidget can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedUpdatesWidget-rootStyles applied to the root element.
buttonLoadMore.SCFeedUpdatesWidget-button-load-moreStyles applied to the to load more button.

Parameters

NameType
inPropsFeedUpdatesWidgetProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/FeedUpdatesWidget/FeedUpdatesWidget.tsx:92


FeedUpdatesWidgetSkeleton

FeedUpdatesWidgetSkeleton(props): JSX.Element

API documentation for the Community-JS Feed Updates Widget Skeleton component. Learn about the available props and the CSS API.

Import

import {FeedUpdatesWidgetSkeleton} from '@selfcommunity/react-ui';

Component Name

The name SCFeedUpdatesWidget-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedUpdatesWidget-skeleton-rootStyles applied to the root element.
list.SCFeedUpdatesWidget-listStyles applied to the list element.

Parameters

NameType
propsany

Returns

JSX.Element

Defined in

packages/react-ui/src/components/FeedUpdatesWidget/Skeleton.tsx:37