Skip to main content

EventSubscribeButton

Interfaces

EventSubscribeButtonProps

Indexable

[p: string]: any

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: SCEventType, status: SCEventSubscriptionStatusType) => anyonSubscribe callback
user?SCUserTypeThe user to be accepted into the event

Default
null

Functions

EventSubscribeButton()

EventSubscribeButton(inProps): JSX.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

JSX.Element

Source

packages/react-ui/src/components/EventSubscribeButton/EventSubscribeButton.tsx:139