import React from 'react'; import { Page, Masthead, MastheadToggle, MastheadMain, MastheadBrand, MastheadContent, PageSidebar, PageSidebarBody, PageSection, PageSectionVariants, PageToggleButton, Toolbar, ToolbarContent, ToolbarItem } from '@breakaway/preact-core'; import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon'; export const PageMultipleSidebarBody: React.FunctionComponent = () => { const [isSidebarOpen, setIsSidebarOpen] = React.useState(true); const onSidebarToggle = () => { setIsSidebarOpen(!isSidebarOpen); }; const headerToolbar = ( header-tools ); const header = ( Logo {headerToolbar} ); const sidebar = ( First sidebar body (with insets) Second sidebar body (with fill) Third sidebar body (with insets and no fill) ); return ( Section with darker background Section with dark background Section with light background ); };