Skip to main content

Navigation Toolbar Mobile

The Navigation Toolbar component renders the mobile application header.
Navigation Toolbar allows users to perform search action, to create contributes and to navigate through the entire application through a menu that opens a drawer containing the links to main sections (such as personal profile, private messages, settings etc).

Usage

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