Skip to main content

GroupSubscribeButton

Interfaces

GroupSubscribeButtonProps

Indexable

[p: string]: any

Others properties

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component. Default null
group?SCGroupTypeGroup Object Default null
groupId?numberId of the group Default null
onSubscribe?(group, status) => anyonSubscribe callback
user?SCUserTypeThe user to be accepted into the group Default null

Functions

GroupSubscribeButton()

GroupSubscribeButton(inProps): Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCGroupSubscribeButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsGroupSubscribeButtonProps

Returns

Element