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 Name | Global class | Description |
---|---|---|
root | .SCUserFollowersWidget-root | Styles applied to the root element. |
title | .SCUserFollowersWidget-title | Styles applied to the title element. |
noResults | .SCUserFollowersWidget-no-results | Styles applied to no results section. |
showMore | .SCUserFollowersWidget-show-more | Styles applied to show more button element. |
dialogRoot | .SCUserFollowersWidget-dialog-root | Styles applied to the dialog root element. |
endMessage | .SCUserFollowersWidget-end-message | Styles applied to the end message element. |
Parameters
Name | Type |
---|---|
inProps | UserFollowersWidgetProps |
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 Name | Global class | Description |
---|---|---|
root | .SCUserFollowersWidget-skeleton-root | Styles applied to the root element. |
Parameters
Name | Type |
---|---|
props | WidgetProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/UserFollowersWidget/Skeleton.tsx:36