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 PageMultipleSidebarBody: React.FunctionComponent = () => { const [isSidebarOpen, setIsSidebarOpen] = useState(true); const onSidebarToggle = () => { setIsSidebarOpen(!isSidebarOpen); }; const headerToolbar = ( header-tools ); const masthead = ( Logo {headerToolbar} ); const sidebar = ( First sidebar body (for a context selector/perspective switcher) Second sidebar body (with insets) Third sidebar body (with fill) Fourth sidebar body (with insets and no fill) ); return (

Multiple sidebar body example section 1

Multiple sidebar body example section 2

Multiple sidebar body example section 3

); };