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 PageMainSectionPadding: React.FunctionComponent = () => {
const [isSidebarOpen, setIsSidebarOpen] = useState(true);
const onSidebarToggle = () => {
setIsSidebarOpen(!isSidebarOpen);
};
const headerToolbar = (
header-tools
);
const header = (
Logo
{headerToolbar}
);
const sidebar = (
Navigation
);
return (
Section with type="subnav" for horizontal subnav navigation
Section with type="nav" for tertiary navigation
Section with type="tabs" for tabs
Section with type="breadcrumb" for breadcrumbs
Section without type prop or type="default" for main sections
Section with type="wizard" for wizards
);
};