EventInviteButton
Interfaces
EventInviteButtonProps
Extends
ButtonProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Overrides |
---|---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null | ButtonProps.className |
event? | SCEventType | Event Object Default null | - |
eventId? | string | number | Id of the event Default null | - |
handleInvitations? | (invited : boolean ) => void | Functions 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 Name | Global class | Description |
---|---|---|
root | .SCEventInviteButton-root | Styles applied to the root element. |
dialogRoot | .SCEventInviteButton-dialog-root | Styles applied to the dialog root. |
dialogTitle | .SCEventInviteButton-dialog-title | Styles applied to the dialog title element. |
dialogContent | .SCEventInviteButton-dialog-content | Styles applied to the dialog content. |
autocomplete | .SCEventInviteButton-autocomplete | Styles applied to the autocomplete element. |
icon | .SCEventInviteButton-icon | Styles applied to the autocomplete icon element. |
input | .SCEventInviteButton-input | Styles applied to the autocomplete input element. |
clear | .SCEventInviteButton-clear | Styles applied to the autocomplete clear icon element. |
invitedBox | .SCEventInviteButton-invited-box | Styles applied to the invited users box. |
suggested | .SCEventInviteButton-suggested | Styles applied to the suggested users box. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | EventInviteButtonProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/EventInviteButton/EventInviteButton.tsx:112