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 Name | Global class | Description | 
|---|---|---|
| root | .SCWidget-root | Styles applied to the root element. | 
Extends
Indexable
[p: string]: any
Other props
Properties
| Property | Type | Description | Inherited from | 
|---|---|---|---|
| className? | string | Overrides or extends the styles applied to the component. Default null | WidgetProps.className | 
| CreateEventButtonComponentProps? | CreateEventButtonProps | Props to spread to CreateEventButton component Default {} | - | 
Functions
CreateEventWidget()
CreateEventWidget(
inProps):Element
Parameters
| Parameter | Type | 
|---|---|
| inProps | CreateEventWidgetProps | 
Returns
Element
CreateEventWidgetSkeleton()
CreateEventWidgetSkeleton():
Element
Returns
Element
References
createEventWidget
Renames and re-exports CreateEventWidget