Skip to main content

Module: UserConnectionsWidget

Interfaces

Functions

UserConnectionsWidget

UserConnectionsWidget(inProps): JSX.Element

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

This component renders the list of connections of the given user.

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCUserConnectionsWidget-rootStyles applied to the root element.
title.SCUserConnectionsWidget-titleStyles applied to the title element.
noResults.SCUserConnectionsWidget-no-resultsStyles applied to no results section.
connectionsItem.SCUserConnectionsWidget-connections-itemStyles applied to connection item element.
showMore.SCUserConnectionsWidget-show-moreStyles applied to show more button element.

Parameters

NameType
inPropsUserConnectionsWidgetProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserConnectionsWidget/UserConnectionsWidget.tsx:125


UserConnectionsWidgetSkeleton

UserConnectionsWidgetSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

NameType
propsWidgetProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserConnectionsWidget/Skeleton.tsx:37