EventMembersWidget
Interfaces
EventMembersWidgetProps
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 Name | Global class | Description |
---|---|---|
root | .SCWidget-root | Styles applied to the root element. |
Extends
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
cacheStrategy? | CacheStrategies | Caching strategies Default CacheStrategies.CACHE_FIRST | - |
className? | string | Overrides or extends the styles applied to the component. Default null | WidgetProps .className |
dialogProps? | BaseDialogProps | Props to spread to users suggestion dialog Default {} | - |
endpointQueryParams? | Record <string , string | number > | Feed API Query Params Default [{'limit': 20, 'offset': 0}] | - |
event? | SCEventType | Event Object Default null | - |
eventId? | number | Id of event object Default null | - |
limit? | number | - | - |
userProps? | UserProps | Props to spread to single user object Default empty object | - |
Functions
EventMembersWidget()
EventMembersWidget(
inProps
):Element
Parameters
Parameter | Type |
---|---|
inProps | EventMembersWidgetProps |
Returns
Element
Source
packages/react-ui/src/components/EventMembersWidget/EventMembersWidget.tsx:83
EventMembersWidgetSkeleton()
EventMembersWidgetSkeleton():
Element
Returns
Element
Source
packages/react-ui/src/components/EventMembersWidget/Skeleton.tsx:25