Skip to main content

CategoryFollowersButton

Interfaces

CategoryFollowersButtonProps

Extends

  • Pick<ButtonProps, Exclude<keyof ButtonProps, "onClick" | "disabled">>

Indexable

[p: string]: any

Any other properties

Properties

PropertyTypeDescription
category?SCCategoryTypeCategory Object Default null
categoryId?numberId of category object Default null
DialogProps?BaseDialogPropsProps to spread to followedBy dialog Default {}

Functions

CategoryFollowersButton()

CategoryFollowersButton(inProps): 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 NameGlobal classDescription
root.SCCategoryFollowersButton-rootStyles applied to the root element.
dialogRoot.SCCategoryFollowersButton-dialog-rootStyles applied to the root element.
endMessage.SCCategoriesFollowedWidget-end-messageStyles applied to the end message element.

Parameters

ParameterTypeDescription
inPropsCategoryFollowersButtonProps

Returns

Element