Skip to main content

GroupInviteButton

Interfaces

GroupInviteButtonProps

Extends

  • ButtonProps

Indexable

[p: string]: any

Properties

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

Default
null
ButtonProps.className
group?SCGroupTypeGroup Object

Default
null
-
groupId?string | numberId of the group

Default
null
-
handleInvitations?(data: any) => anyFunctions to handle invitations sending in group creation mode

Default
null
-

Functions

GroupInviteButton()

GroupInviteButton(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

ParameterTypeDescription
inPropsGroupInviteButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/GroupInviteButton/GroupInviteButton.tsx:111