Skip to main content

EditEventButton

Interfaces

EditEventButtonProps

Extends

Indexable

[p: string]: any

Properties

PropertyTypeDescriptionInherited from
EventFormProps?EventFormPropsProps to spread to CreateGroup component

Default
empty object
CreateEventButtonProps.EventFormProps
className?stringOverrides or extends the styles applied to the component.

Default
null
CreateEventButtonProps.className
event?SCEventTypeEvent Object

Default
null
-
eventId?string | numberId of the event

Default
null
-
onEditSuccess?(data: SCEventType) => voidOn 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 NameGlobal classDescription
root.SCEditEventButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsEditEventButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/EditEventButton/EditEventButton.tsx:64