IncubatorSubscribeButton
Interfaces
IncubatorSubscribeButtonProps
Indexable
[p
: string
]: any
Properties
Property | Type | Description |
---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null |
incubator? | SCIncubatorType | Incubator Default null |
incubatorId? | number | Id of the incubator Default null |
onSubscribe? | (incubator : SCIncubatorType , subscribed : boolean ) => any | onSubscribe callback |
Functions
IncubatorSubscribeButton()
IncubatorSubscribeButton(
inProps
):JSX.Element
API documentation for the Community-JS Incubator Subscribe Button component. Learn about the available props and the CSS API.
Import
import {IncubatorSubscribeButton} from '@selfcommunity/react-ui';
Component Name
The name SCIncubatorSubscribeButton
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCIncubatorSubscribeButton-root | Styles applied to the root element. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | IncubatorSubscribeButtonProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/IncubatorSubscribeButton/IncubatorSubscribeButton.tsx:84