Skip to main content

UserCounters

Interfaces

UserCountersProps

Indexable

[p: string]: any

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component.

Default
null
user?SCUserTypeUser Object

Default
null
userId?numberId of user object

Default
null

Functions

UserCounters()

UserCounters(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

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

Parameters

ParameterTypeDescription
inPropsUserCountersProps

Returns

JSX.Element

Source

packages/react-ui/src/components/UserCounters/UserCounters.tsx:84