Skip to main content

EditGroupButton

Interfaces

EditGroupButtonProps

Extends

Indexable

[p: string]: any

Properties

PropertyTypeDescriptionInherited from
GroupFormProps?GroupFormPropsProps to spread to CreateGroup component

Default
empty object
CreateGroupButtonProps.GroupFormProps
className?stringOverrides or extends the styles applied to the component.

Default
null
CreateGroupButtonProps.className
group?SCGroupTypeGroup Object

Default
null
-
groupId?string | numberId of the group

Default
null
-
onEditSuccess?(data: SCGroupType) => voidOn edit success callback function

Default
null
-

Functions

EditGroupButton()

EditGroupButton(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

ParameterTypeDescription
inPropsEditGroupButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/EditGroupButton/EditGroupButton.tsx:64