ChangeGroupPicture
Interfaces
ChangeGroupPictureProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
autoHide? | boolean | Hides this component Default false |
className? | string | Overrides or extends the styles applied to the component. Default null |
groupId? | number | Id of the group. It is optional only for group creation modal. Default null |
isCreationMode? | boolean | Prop to handle avatar loading in the create group modal. Default false |
onChange? | (cover : any ) => void | On change function. Default null |
Functions
ChangeGroupPicture()
ChangeGroupPicture(
inProps
):JSX.Element
API documentation for the Community-JS Change Group Picture component. Learn about the available props and the CSS API.
This component renders a button that allows admins to manage their group pictures. Take a look at our demo component here
Import
import {ChangeGroupPicture} from '@selfcommunity/react-ui';
Component Name
The name SCChangeGroupPictureButton
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCChangeGroupPictureButton-root | Styles applied to the root element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | ChangeGroupPictureProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/ChangeGroupPicture/ChangeGroupPicture.tsx:89