Skip to main content

Category Feed

The Category Feed template renders the category feed.

Usage

 import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {CategoryFeed} from '@selfcommunity/react-templates';

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}><CategoryFeed/></SCContextProvider>
);
}