Skip to main content

CategoryFollowButton

Interfaces

CategoryFollowButtonProps

Indexable

[p: string]: any

Others properties

Properties

PropertyTypeDescription
category?SCCategoryTypeCategory Object Default null
categoryId?numberId of the category Default null
className?stringOverrides or extends the styles applied to the component. Default null
disableBuyContentIfPaidContent?booleanDisable action if feature payments is enabled and the content is paid item
onFollow?(category, followed) => anyonFollow callback

Functions

CategoryFollowButton()

CategoryFollowButton(inProps): Element

API documentation for the Community-JS Follow Category Button component. Learn about the available props and the CSS API.

Import

import {CategoryFollowButton} from '@selfcommunity/react-ui';

Component Name

The name SCCategoryFollowButton can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCCategoryFollowButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsCategoryFollowButtonProps

Returns

Element