CategoryFollowersButton
Interfaces
CategoryFollowersButtonProps
Extends
Pick
<ButtonProps
,Exclude
<keyofButtonProps
,"onClick"
|"disabled"
>>
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
DialogProps? | BaseDialogProps | Props to spread to followedBy dialog Default {} |
category? | SCCategoryType | Category Object Default null |
categoryId? | number | Id of category object Default null |
Functions
CategoryFollowersButton()
CategoryFollowersButton(
inProps
):JSX.Element
API documentation for the Community-JS Category Followers Button component. Learn about the available props and the CSS API.
Import
import {CategoryFollowersButton} from '@selfcommunity/react-ui';
Component Name
The name SCCategoryFollowersButton
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoryFollowersButton-root | Styles applied to the root element. |
dialogRoot | .SCCategoryFollowersButton-dialog-root | Styles applied to the root element. |
endMessage | .SCCategoriesFollowedWidget-end-message | Styles applied to the end message element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | CategoryFollowersButtonProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/CategoryFollowersButton/CategoryFollowersButton.tsx:85