Module: Feed
Namespaces
Interfaces
Type Aliases
FeedRef
Ƭ FeedRef: Object
FeedRef props
Type declaration
Name | Type |
---|---|
addFeedData | (obj : any , syncPagination? : boolean ) => void |
refresh | () => void |
Defined in
packages/react-ui/src/components/Feed/Feed.tsx:65
FeedSidebarProps
Ƭ FeedSidebarProps: StickyBoxProps
FeedSidebarProps has the same props as StickyBoxProps type
Defined in
packages/react-ui/src/components/Feed/Feed.tsx:60
Functions
FeedSkeleton
▸ FeedSkeleton(props
): JSX.Element
API documentation for the Community-JS Feed Skeleton component. Learn about the available props and the CSS API.
Import
import {FeedSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCFeed-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCFeed-skeleton-root | Styles applied to the root element. |
left | .SCFeed-left | Styles applied to the left section. |
right | .SCFeed-right | Styles applied to the right section. |
Parameters
Name | Type |
---|---|
props | FeedSkeletonProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/Feed/Skeleton.tsx:56
feed
▸ feed(props
): ReactElement
<any
, string
| JSXElementConstructor
<any
>>
NOTE: Exotic components are not callable.
Parameters
Name | Type |
---|---|
props | FeedProps & RefAttributes <FeedRef > |
Returns
ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Defined in
node_modules/@types/react/index.d.ts:350