Skip to main content

GroupMembersButton

Interfaces

GroupMembersButtonProps

Extends

  • Pick<ButtonProps, Exclude<keyof ButtonProps, "onClick" | "disabled">>

Indexable

[p: string]: any

Properties

PropertyTypeDescription
DialogProps?BaseDialogPropsProps to spread to followedBy dialog

Default
{}
autoHide?booleanHides this component

Default
false
group?SCGroupTypeGroup Object

Default
null
groupId?string | numberId of the group

Default
null

Functions

GroupMembersButton()

GroupMembersButton(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCGroupMembersButton-rootStyles applied to the root element.
dialogRoot.SCGroupMembersButton-dialog-rootStyles applied to the root element.
endMessage.SCCategoriesFollowedWidget-end-messageStyles applied to the end message element.

Parameters

ParameterTypeDescription
inPropsGroupMembersButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/GroupMembersButton/GroupMembersButton.tsx:90