Skip to main content

Module: UserFollowersWidget

Interfaces

Functions

UserFollowersWidget

UserFollowersWidget(inProps): JSX.Element

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

This component renders the list of the follows of the given user. Take a look at our demo component here

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCUserFollowersWidget-rootStyles applied to the root element.
title.SCUserFollowersWidget-titleStyles applied to the title element.
noResults.SCUserFollowersWidget-no-resultsStyles applied to no results section.
showMore.SCUserFollowersWidget-show-moreStyles applied to show more button element.
dialogRoot.SCUserFollowersWidget-dialog-rootStyles applied to the dialog root element.
endMessage.SCUserFollowersWidget-end-messageStyles applied to the end message element.

Parameters

NameType
inPropsUserFollowersWidgetProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserFollowersWidget/UserFollowersWidget.tsx:127


UserFollowersWidgetSkeleton

UserFollowersWidgetSkeleton(props): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

NameType
propsWidgetProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/UserFollowersWidget/Skeleton.tsx:36