Skip to main content

EventParticipantsButton

Interfaces

EventParticipantsButtonProps

Extends

  • Pick<ButtonProps, Exclude<keyof ButtonProps, "onClick" | "disabled">>

Indexable

[p: string]: any

Properties

PropertyTypeDescription
DialogProps?BaseDialogPropsProps to spread to followedBy dialog

Default
{}
event?SCEventTypeEvent Object

Default
null
eventId?numberEventId of event object

Default
null
hideCaption?booleanHide button label

Default
false

Functions

EventParticipantsButton()

EventParticipantsButton(inProps): Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCEventParticipantsButton-rootStyles applied to the root element.
dialogRoot.SCEventParticipantsButton-dialog-rootStyles applied to the root element.
endMessage.SCEventParticipantsButton-end-messageStyles applied to the end message element.

Parameters

ParameterTypeDescription
inPropsEventParticipantsButtonProps

Returns

Element

Source

packages/react-ui/src/components/EventParticipantsButton/EventParticipantsButton.tsx:94