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 Name | Global class | Description |
---|---|---|
root | .SCFeedUpdatesWidget-root | Styles applied to the root element. |
buttonLoadMore | .SCFeedUpdatesWidget-button-load-more | Styles applied to the to load more button. |
Parameters
Name | Type |
---|---|
inProps | FeedUpdatesWidgetProps |
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 Name | Global class | Description |
---|---|---|
root | .SCFeedUpdatesWidget-skeleton-root | Styles applied to the root element. |
list | .SCFeedUpdatesWidget-list | Styles applied to the list element. |
Parameters
Name | Type |
---|---|
props | any |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/FeedUpdatesWidget/Skeleton.tsx:37