Skip to main content

EventSubscribeButton

Interfaces

EventSubscribeButtonProps

Indexable

[p: string]: any

Others properties

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component. Default null
event?SCEventTypeEvent Object Default null
eventId?numberId of the event Default null
onSubscribe?(event) => anyonSubscribe callback
user?SCUserTypeThe user to be accepted into the event Default null

Functions

EventSubscribeButton()

EventSubscribeButton(inProps): Element

API documentation for the Community-JS Event Subscribe Button component. Learn about the available props and the CSS API.

Import

import {EventSubscribeButton} from '@selfcommunity/react-ui';

Component Name

The name SCEventSubscribeButton can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCEventSubscribeButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsEventSubscribeButtonProps

Returns

Element