Skip to main content

CreateEventWidget

References

createEventWidget

Renames and re-exports CreateEventWidget

Interfaces

CreateEventWidgetProps

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
CreateEventButtonComponentProps?CreateEventButtonPropsProps to spread to CreateEventButton component

Default
{}
-
className?stringOverrides or extends the styles applied to the component.

Default
null
WidgetProps.className

Functions

CreateEventWidget()

CreateEventWidget(inProps): Element

Parameters

ParameterType
inPropsCreateEventWidgetProps

Returns

Element

Source

packages/react-ui/src/components/CreateEventWidget/CreateEventWidget.tsx:40


CreateEventWidgetSkeleton()

CreateEventWidgetSkeleton(): Element

Returns

Element

Source

packages/react-ui/src/components/CreateEventWidget/Skeleton.tsx:21