Skip to main content

MyEventsWidget

Interfaces

MyEventsWidgetProps

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

Properties

PropertyTypeDescriptionInherited from
cacheStrategy?CacheStrategiesCaching strategies

Default
CacheStrategies.CACHE_FIRST
-
className?stringOverrides or extends the styles applied to the component.

Default
null
WidgetProps.className
endpointQueryParams?Record<string, string | number>Feed API Query Params

Default
[{'limit': 20, 'offset': 0, subscription_status: 'going'}]
-

Functions

MyEventsWidget()

MyEventsWidget(inProps): Element

Parameters

ParameterType
inPropsMyEventsWidgetProps

Returns

Element

Source

packages/react-ui/src/components/MyEventsWidget/MyEventsWidget.tsx:74


MyEventsWidgetSkeleton()

MyEventsWidgetSkeleton(): Element

Returns

Element

Source

packages/react-ui/src/components/MyEventsWidget/Skeleton.tsx:23