Skip to main content

IncubatorDetail

Interfaces

IncubatorDetailProps

Properties

PropertyTypeDescription
IncubatorProps?IncubatorPropsProps to spread to single scIncubator object

Default
{}
className?stringOverrides or extends the styles applied to the component.

Default
null
incubator?SCIncubatorTypeIncubator Object

Default
null
incubatorId?numberId of scIncubator object

Default
null
onClose?() => voidOn dialog close callback function

Default
null
onSubscriptionsUpdate?(scIncubator: any) => anyCallback fired on subscribe action to update count in main list
openbooleanOpens dialog

Default
false

Functions

IncubatorDetail()

IncubatorDetail(inProps): JSX.Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCIncubatorDetail-rootStyles applied to the root element.
avatar.SCIncubatorDetail-avatarStyles applied to the avatar element.
title.SCIncubatorDetail-titleStyles applied to the title element.
author.SCIncubatorDetail-authorStyles applied to the author element.
shareCard.SCIncubatorDetail-share-cardStyles applied to the section card.
copyUrlForm.SCIncubatorDetail-copy-url-formStyles applied to the url copy section.
copyButton.SCIncubatorDetail-copy-buttonStyles applied to the copy button element.
copyText.SCIncubatorDetail-copy-textStyles applied to the text copy element.
shareSection.SCIncubatorDetail-share-sectionStyles applied to the social share section.
socialShareButton.SCIncubatorDetail-social-share-buttonStyles applied to the social share button.
subscribers.SCIncubatorDetail-subscribersStyles applied to the subscribers avatar section.

Parameters

ParameterTypeDescription
inPropsIncubatorDetailProps

Returns

JSX.Element

Source

packages/react-ui/src/components/IncubatorDetail/IncubatorDetail.tsx:179