UserCounters
Interfaces
UserCountersProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null |
user? | SCUserType | User Object Default null |
userId? | number | Id 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 Name | Global class | Description |
---|---|---|
root | .SCUserCounters-root | Styles applied to the root element. |
field | .SCUserCounters-field | Styles applied to the field element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | UserCountersProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/UserCounters/UserCounters.tsx:84