import { useState } from 'react'; import { Page, Masthead, MastheadMain, MastheadToggle, MastheadBrand, MastheadLogo, MastheadContent, PageSidebar, PageSidebarBody, PageSection, PageToggleButton, Toolbar, ToolbarContent, ToolbarItem } from '@patternfly/react-core'; export const PageVerticalNav: React.FunctionComponent = () => { const [isSidebarOpen, setIsSidebarOpen] = useState(true); const onSidebarToggle = () => { setIsSidebarOpen(!isSidebarOpen); }; const headerToolbar = ( header-tools ); const masthead = ( Logo {headerToolbar} ); const sidebar = ( Navigation ); return (

Vertical nav example section 1

Vertical nav example section 2 with secondary variant styling

Vertical nav example section 3

); };