UNPKG

@selfcommunity/react-ui

Version:

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

57 lines (48 loc) 1.46 kB
import { IconButtonProps } from '@mui/material'; import { SCGroupType, SCUserType } from '@selfcommunity/types'; export interface PrivateMessageSettingsIconButtonProps extends IconButtonProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Handles callback on menu item delete click */ onMenuItemDeleteClick?: () => void; /** * Handles callback on delete confirm */ onItemDeleteConfirm?: () => void; /** * The deleting thread id */ threadToDelete?: number; /** * The user receiver context */ user?: SCUserType; /** * The group */ group?: SCGroupType; /** * Any other properties */ [p: string]: any; } /** * > API documentation for the Community-JS PrivateMessageSettingsIconButton component. Learn about the available props and the CSS API. #### Import ```jsx import {PrivateMessageSettingsIconButton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCPrivateMessageSettingsIconButton` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCPrivateMessageSettingsIconButton-root|Styles applied to the root element.| * @param inProps */ export default function PrivateMessageSettingsIconButton(inProps: PrivateMessageSettingsIconButtonProps): JSX.Element;