UserProfileBlocked
Interfaces
UserProfileBlockedProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
blockedByUser? | boolean | Prefetch blockedBy Default null |
className? | string | Overrides or extends the styles applied to the component. Default null |
syncBlockedByUserStatus? | boolean | Enable sync status blockedBy Default false |
user? | SCUserType | User Object Default null |
userId? | number | Id of user object Default null |
Functions
UserProfileBlocked()
UserProfileBlocked(
inProps
):JSX.Element
API documentation for the Community-JS User Profile Blocked component. Learn about the available props and the CSS API.
Import
import {UserProfileBlocked} from '@selfcommunity/react-ui';
Component Name
The name SCUserProfileBlocked
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCUserProfileBlocked-root | Styles applied to the root element. |
info | .SCUserProfileBlocked-info | Styles applied to info text element. |
button | .SCUserProfileBlocked-button | Styles applied to the unblock button element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | UserProfileBlockedProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/UserProfileBlocked/UserProfileBlocked.tsx:91