FeedUpdatesWidget
Interfaces
FeedUpdatesWidgetProps
Extends
VirtualScrollerItemProps
Indexable
[p
: string
]: any
Other Card props
Properties
Functions
FeedUpdatesWidget()
FeedUpdatesWidget(
inProps
):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
Parameter | Type | Description |
---|---|---|
inProps | FeedUpdatesWidgetProps |
Returns
Element
FeedUpdatesWidgetSkeleton()
FeedUpdatesWidgetSkeleton(
props
):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
Parameter | Type |
---|---|
props | any |
Returns
Element