Skip to main content

UserLiveStreamWidget

Interfaces

UserLiveStreamWidgetProps

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCWidget-rootStyles applied to the root element.

Extends

Indexable

[p: string]: any

Other props

Properties

PropertyTypeDescriptionInherited from
cacheStrategy?CacheStrategiesCaching strategies Default CacheStrategies.CACHE_FIRST-
className?stringOverrides or extends the styles applied to the component. Default nullWidgetProps.className
dialogProps?BaseDialogPropsProps to spread to users suggestion dialog Default {}-
endpointQueryParams?Record<string, string | number>API Query Params Default [{'limit': 20, 'offset': 0}]-
limit?numberLimit param-
liveStreamComponentProps?LiveStreamPropsProps to spread to single live stream object Default {}-
user?SCUserTypeUser Object Default null-
userIdnumberThe user id Default null-

Functions

UserLiveStreamWidget()

UserLiveStreamWidget(inProps): Element

Parameters

ParameterType
inPropsUserLiveStreamWidgetProps

Returns

Element


UserLiveStreamWidgetSkeleton()

UserLiveStreamWidgetSkeleton(): Element

Returns

Element