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 Name | Global class | Description |
---|---|---|
root | .SCWidget-root | Styles applied to the root element. |
Extends
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null | WidgetProps .className |
event? | SCEventType | Event Object Default null | - |
eventId? | number | Id of event object Default null | - |
summaryExpanded? | boolean | True if summary must be already expanded Default false | - |
Functions
EventInfoWidget()
EventInfoWidget(
inProps
):Element
Parameters
Parameter | Type |
---|---|
inProps | EventInfoWidgetProps |
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