UNPKG

@selfcommunity/react-ui

Version:

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

39 lines (30 loc) 936 B
import { IconButtonProps } from '@mui/material'; import { SCUserType } from '@selfcommunity/types'; export interface UserActionIconButtonProps extends IconButtonProps { /** * Id of user object * @default null */ userId?: number; /** * User Object * @default null */ user?: SCUserType; items?: any; } /** * > API documentation for the Community-JS User Action Menu component. Learn about the available props and the CSS API. #### Import ```jsx import {UserActionIconButton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SUserActionIconButton` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SUserActionIconButton-root|Styles applied to the root element.| * @param inProps */ export default function UserActionIconButton(inProps: UserActionIconButtonProps): JSX.Element;