Skip to main content

Module: UserInfo

Interfaces

Functions

UserInfo

UserInfo(inProps): JSX.Element

API documentation for the Community-JS User Info component. Learn about the available props and the CSS API.

Import

import {UserInfo} from '@selfcommunity/react-ui';

Component Name

The name SCUserInfo can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCUserInfo-rootStyles applied to the root element.
field.SCUserInfo-fieldStyles applied to the field element.

Parameters

NameType
inPropsUserInfoProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserInfo/UserInfo.tsx:124


UserInfoSkeleton

UserInfoSkeleton(): JSX.Element

API documentation for the Community-JS User Profile Info Skeleton component. Learn about the available props and the CSS API.

Import

import {UserProfileInfoSkeleton} from '@selfcommunity/react-ui';

Component Name

The name SCUserProfileInfo-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCUserProfileInfo-skeleton-rootStyles applied to the root element.

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserInfo/Skeleton.tsx:38