Skip to main content

Navigation Toolbar

The Navigation Toolbar component renders the application header.
Navigation Toolbar allows users to perform search action, to create contributes and to navigate through the entire application through shortcuts that refer to the main sections (such as home, feed, profile, notifications, etc).

Usage

 import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {NavigationToolbar} 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}><NavigationToolbar /></SCContextProvider>
);
}