Skip to main content

EventInfoWidget

Interfaces

EventInfoWidgetProps

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
className?stringOverrides or extends the styles applied to the component.

Default
null
WidgetProps.className
event?SCEventTypeEvent Object

Default
null
-
eventId?numberId of event object

Default
null
-
summaryExpanded?booleanTrue if summary must be already expanded

Default
false
-

Functions

EventInfoWidget()

EventInfoWidget(inProps): Element

Parameters

ParameterType
inPropsEventInfoWidgetProps

Returns

Element

Source

packages/react-ui/src/components/EventInfoWidget/EventInfoWidget.tsx:64


EventInfoWidgetSkeleton()

EventInfoWidgetSkeleton(): Element

Returns

Element

Source

packages/react-ui/src/components/EventInfoWidget/Skeleton.tsx:16