IncubatorDetail
Interfaces
IncubatorDetailProps
Properties
Property | Type | Description |
---|---|---|
IncubatorProps? | IncubatorProps | Props to spread to single scIncubator object Default {} |
className? | string | Overrides or extends the styles applied to the component. Default null |
incubator? | SCIncubatorType | Incubator Object Default null |
incubatorId? | number | Id of scIncubator object Default null |
onClose? | () => void | On dialog close callback function Default null |
onSubscriptionsUpdate? | (scIncubator : any ) => any | Callback fired on subscribe action to update count in main list |
open | boolean | Opens 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 Name | Global class | Description |
---|---|---|
root | .SCIncubatorDetail-root | Styles applied to the root element. |
avatar | .SCIncubatorDetail-avatar | Styles applied to the avatar element. |
title | .SCIncubatorDetail-title | Styles applied to the title element. |
author | .SCIncubatorDetail-author | Styles applied to the author element. |
shareCard | .SCIncubatorDetail-share-card | Styles applied to the section card. |
copyUrlForm | .SCIncubatorDetail-copy-url-form | Styles applied to the url copy section. |
copyButton | .SCIncubatorDetail-copy-button | Styles applied to the copy button element. |
copyText | .SCIncubatorDetail-copy-text | Styles applied to the text copy element. |
shareSection | .SCIncubatorDetail-share-section | Styles applied to the social share section. |
socialShareButton | .SCIncubatorDetail-social-share-button | Styles applied to the social share button. |
subscribers | .SCIncubatorDetail-subscribers | Styles applied to the subscribers avatar section. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | IncubatorDetailProps |
Returns
JSX.Element
Source
packages/react-ui/src/components/IncubatorDetail/IncubatorDetail.tsx:179