Skip to main content

UserProfileBlocked

Interfaces

UserProfileBlockedProps

Indexable

[p: string]: any

Properties

PropertyTypeDescription
blockedByUser?booleanPrefetch blockedBy

Default
null
className?stringOverrides or extends the styles applied to the component.

Default
null
syncBlockedByUserStatus?booleanEnable sync status blockedBy

Default
false
user?SCUserTypeUser Object

Default
null
userId?numberId 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 NameGlobal classDescription
root.SCUserProfileBlocked-rootStyles applied to the root element.
info.SCUserProfileBlocked-infoStyles applied to info text element.
button.SCUserProfileBlocked-buttonStyles applied to the unblock button element.

Parameters

ParameterTypeDescription
inPropsUserProfileBlockedProps

Returns

JSX.Element

Source

packages/react-ui/src/components/UserProfileBlocked/UserProfileBlocked.tsx:91