GroupSubscribeButton
Interfaces
GroupSubscribeButtonProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null |
group? | SCGroupType | Group Object Default null |
groupId? | number | Id of the group Default null |
onSubscribe? | (group : SCGroupType , status : string ) => any | onSubscribe callback |
user? | SCUserType | The 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 Name | Global class | Description |
---|---|---|
root | .SCGroupSubscribeButton-root | Styles applied to the root element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | GroupSubscribeButtonProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/GroupSubscribeButton/GroupSubscribeButton.tsx:85