Skip to main content

Incubator

The Incubator component renders an incubator item containing incubator's title, info, a subscription status bar and a subscribe button, that allows users to subscribe/unsubscribe to an incubator.

Usage

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

function App() {
const conf = {
portal: '<community-path>',
session: {
type: 'OAuth',
token: '<community-token>',
refreshToken: '<community-refresh-token>',
refreshTokenEndpoint: '<community-refresh-endpoint>',
},
};
return (
<SCContextProvider conf={conf}><Incubator /></SCContextProvider>
);
}