Skip to main content

Incubator

Interfaces

IncubatorProps

Indexable

[p: string]: any

Any other properties

Properties

PropertyTypeDescription
autoHide?booleanHides this component Default false
ButtonProps?ButtonPropsDefault props to submit button Input Default {}
className?stringOverrides or extends the styles applied to the component. Default null
detailView?booleanIf true shows extended incubator' slogan in detail view Default false
incubator?SCIncubatorTypeIncubator object Default null
incubatorId?numberIncubator object id Default null
subscribeButtonProps?IncubatorSubscribeButtonPropsProps to spread to subscribe button Default {}

Functions

Incubator()

Incubator(inProps): Element

API documentation for the Community-JS Incubator component. Learn about the available props and the CSS API.

This component renders an incubator item. Take a look at our demo component here

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCIncubator-rootStyles applied to the root element.
name.SCIncubator-nameStyles applied to the name section.
slogan.SCIncubator-sloganStyles applied to the slogan section.
progressBar.SCIncubator-progress-barStyles applied to the progress bar element.

Parameters

ParameterTypeDescription
inPropsIncubatorProps

Returns

Element


IncubatorSkeleton()

IncubatorSkeleton(props): Element

API documentation for the Community-JS Incubator Skeleton component. Learn about the available props and the CSS API.

Import

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

Component Name

The name SCIncubator-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCIncubator-skeleton-rootStyles applied to the root element.
primary.SCIncubator-primaryStyles applied to the primary text element.
secondary.SCIncubator-secondaryStyles applied to the secondary text element.
progressBar.SCIncubator-progress-barStyles applied to the progress bar section.
action.SCIncubator-actionStyles applied to the action button element.

Parameters

ParameterType
propsany

Returns

Element