Skip to main content

EventInviteButton

Interfaces

EventInviteButtonProps

Extends

  • ButtonProps

Indexable

[p: string]: any

Properties

PropertyTypeDescriptionOverrides
className?stringOverrides or extends the styles applied to the component.

Default
null
ButtonProps.className
event?SCEventTypeEvent Object

Default
null
-
eventId?string | numberId of the event

Default
null
-
handleInvitations?(invited: boolean) => voidFunctions to handle invitations sending in event creation mode

Default
null
-

Functions

EventInviteButton()

EventInviteButton(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCEventInviteButton-rootStyles applied to the root element.
dialogRoot.SCEventInviteButton-dialog-rootStyles applied to the dialog root.
dialogTitle.SCEventInviteButton-dialog-titleStyles applied to the dialog title element.
dialogContent.SCEventInviteButton-dialog-contentStyles applied to the dialog content.
autocomplete.SCEventInviteButton-autocompleteStyles applied to the autocomplete element.
icon.SCEventInviteButton-iconStyles applied to the autocomplete icon element.
input.SCEventInviteButton-inputStyles applied to the autocomplete input element.
clear.SCEventInviteButton-clearStyles applied to the autocomplete clear icon element.
invitedBox.SCEventInviteButton-invited-boxStyles applied to the invited users box.
suggested.SCEventInviteButton-suggestedStyles applied to the suggested users box.

Parameters

ParameterTypeDescription
inPropsEventInviteButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/EventInviteButton/EventInviteButton.tsx:112