Skip to main content

CategoryFollowersButton

Interfaces

CategoryFollowersButtonProps

Extends

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

Indexable

[p: string]: any

Properties

PropertyTypeDescription
DialogProps?BaseDialogPropsProps to spread to followedBy dialog

Default
{}
category?SCCategoryTypeCategory Object

Default
null
categoryId?numberId 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 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

JSX.Element

Source

packages/react-ui/src/components/CategoryFollowersButton/CategoryFollowersButton.tsx:85