UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

49 lines (40 loc) 1.2 kB
import { IconButtonProps } from '@mui/material'; import { SCGroupType, SCUserType } from '@selfcommunity/types'; export interface GroupSettingsIconButtonProps extends IconButtonProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Handles callback on delete success */ onRemoveSuccess?: () => void; /** * The user */ user: SCUserType; /** * The group obj */ group: SCGroupType; /** * Any other properties */ [p: string]: any; } /** * > API documentation for the Community-JS GroupSettingsIconButton component. Learn about the available props and the CSS API. #### Import ```jsx import {GroupSettingsIconButton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCGroupSettingsIconButton` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCGroupSettingsIconButton-root|Styles applied to the root element.| * @param inProps */ export default function GroupSettingsIconButton(inProps: GroupSettingsIconButtonProps): JSX.Element;