Interface: CategoryFollowButtonProps
CategoryFollowButton.CategoryFollowButtonProps
Indexable
▪ [p: string
]: any
Others properties
Properties
category
• Optional
category: SCCategoryType
Category Object
Default
null
Defined in
packages/react-ui/src/components/CategoryFollowButton/CategoryFollowButton.tsx:48
categoryId
• Optional
categoryId: number
Id of the category
Default
null
Defined in
packages/react-ui/src/components/CategoryFollowButton/CategoryFollowButton.tsx:42
className
• Optional
className: string
Overrides or extends the styles applied to the component.
Default
null
Defined in
packages/react-ui/src/components/CategoryFollowButton/CategoryFollowButton.tsx:37
onFollow
• Optional
onFollow: (category
: SCCategoryType
, followed
: boolean
) => any
Type declaration
▸ (category
, followed
): any
onFollow callback
Parameters
Name | Type |
---|---|
category | SCCategoryType |
followed | boolean |
Returns
any
Defined in
packages/react-ui/src/components/CategoryFollowButton/CategoryFollowButton.tsx:55