Debian Codegraph @

node/@patternfly/react-core/src/components/Masthead/examples/MastheadDisplayStackInlineResponsive.tsx

raw
1 import {
2 Masthead,
3 MastheadMain,
4 MastheadToggle,
5 MastheadBrand,
6 MastheadLogo,
7 MastheadContent,
8 Button
9 } from '@patternfly/react-core';
10
11 export const MastheadDisplayStackInlineResponsive: React.FunctionComponent = () => (
12 <Masthead id="stack-inline-masthead" display={{ default: 'inline', lg: 'stack', '2xl': 'inline' }}>
13 <MastheadMain>
14 <MastheadToggle>
15 <Button variant="plain" isHamburger onClick={() => {}} aria-label="Global navigation" />
16 </MastheadToggle>
17 <MastheadBrand>
18 <MastheadLogo component="a">Logo</MastheadLogo>
19 </MastheadBrand>
20 </MastheadMain>
21 <MastheadContent>
22 <span>Content</span>
23 </MastheadContent>
24 </Masthead>
25 );