Skip to main content

Module: Feed

Namespaces

Interfaces

Type Aliases

FeedRef

Ƭ FeedRef: Object

FeedRef props

Type declaration

NameType
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 NameGlobal classDescription
root.SCFeed-skeleton-rootStyles applied to the root element.
left.SCFeed-leftStyles applied to the left section.
right.SCFeed-rightStyles applied to the right section.

Parameters

NameType
propsFeedSkeletonProps

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

NameType
propsFeedProps & RefAttributes<FeedRef>

Returns

ReactElement<any, string | JSXElementConstructor<any>>

Defined in

node_modules/@types/react/index.d.ts:350