Discussion Feed
Initialization
In order to use the Discussion Feed component, you'll have to import it as well as the accompanying CSS.
index.jsx
import { Discussion } from "@orbisclub/components";
import "@orbisclub/components/dist/index.modern.css";
Usage
Use our Dashboard to set up your Context, customize this component and get ready-to-use code snippets.
index.jsx
<Discussion theme="YOUR_THEME_ID" context="YOUR_CONTEXT_ID" />
Discussion Feed component takes in 2 optional arguments:
theme
- (stream) ID of your theme generated via Dashboardcontext
- (stream) ID of the Context from which content should be fetched- take advantage of Dynamic Contexts for simple organization
- use Sub-contexts for advanced rules and manual organization