EditEventButton
Interfaces
EditEventButtonProps
Extends
Indexable
[p: string]: any
Any other properties
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null | CreateEventButtonProps.className |
event? | SCEventType | Event Object Default null | - |
EventFormDialogComponentProps? | EventFormDialogProps | Props to spread to CreateEvent component Default empty object | CreateEventButtonProps.EventFormDialogComponentProps |
eventId? | string | number | Id of the event Default null | - |
onEditSuccess? | (data) => void | On edit success callback function Default null | - |
Functions
EditEventButton()
EditEventButton(
inProps):Element
API documentation for the Community-JS Create Event Button component. Learn about the available props and the CSS API.
Import
import {CreateEventButton} from '@selfcommunity/react-ui';
Component Name
The name SCEditEventButton can be used when providing style overrides in the theme.
CSS
| Rule Name | Global class | Description |
|---|---|---|
| root | .SCEditEventButton-root | Styles applied to the root element. |
Parameters
| Parameter | Type | Description |
|---|---|---|
inProps | EditEventButtonProps |
Returns
Element