EditEventButton
Interfaces
EditEventButtonProps
Extends
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
EventFormProps? | EventFormProps | Props to spread to CreateGroup component Default empty object | CreateEventButtonProps .EventFormProps |
className? | string | Overrides or extends the styles applied to the component. Default null | CreateEventButtonProps .className |
event? | SCEventType | Event Object Default null | - |
eventId? | string | number | Id of the event Default null | - |
onEditSuccess? | (data : SCEventType ) => void | On edit success callback function Default null | - |
Functions
EditEventButton()
EditEventButton(
inProps
):JSX.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
JSX.Element
Source
packages/react-ui/src/components/EditEventButton/EditEventButton.tsx:64