EditGroupButton
Interfaces
EditGroupButtonProps
Extends
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
GroupFormProps? | GroupFormProps | Props to spread to CreateGroup component Default empty object | CreateGroupButtonProps .GroupFormProps |
className? | string | Overrides or extends the styles applied to the component. Default null | CreateGroupButtonProps .className |
group? | SCGroupType | Group Object Default null | - |
groupId? | string | number | Id of the group Default null | - |
onEditSuccess? | (data : SCGroupType ) => void | On 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 Name | Global class | Description |
---|---|---|
root | .SCEditGroupButton-root | Styles applied to the root element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | EditGroupButtonProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/EditGroupButton/EditGroupButton.tsx:64