Skip to main content

IncubatorSubscribeButton

Interfaces

IncubatorSubscribeButtonProps

Indexable

[p: string]: any

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component.

Default
null
incubator?SCIncubatorTypeIncubator

Default
null
incubatorId?numberId of the incubator

Default
null
onSubscribe?(incubator: SCIncubatorType, subscribed: boolean) => anyonSubscribe 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 NameGlobal classDescription
root.SCIncubatorSubscribeButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsIncubatorSubscribeButtonProps

Returns

JSX.Element

Source

packages/react-ui/src/components/IncubatorSubscribeButton/IncubatorSubscribeButton.tsx:84