UserCounters
Interfaces
UserCountersProps
Indexable
[p: string]: any
Any other properties
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):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
Element