Skip to main content

GroupSubscribeButton

Interfaces

GroupSubscribeButtonProps

Indexable

[p: string]: any

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: SCGroupType, status: string) => anyonSubscribe callback
user?SCUserTypeThe user to be accepted into the group

Default
null

Functions

GroupSubscribeButton()

GroupSubscribeButton(inProps): JSX.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

JSX.Element

Source

packages/react-ui/src/components/GroupSubscribeButton/GroupSubscribeButton.tsx:85