| 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 MastheadDisplayStack: React.FunctionComponent = () => ( |
| 12 |
<Masthead id="stack-masthead" display={{ default: 'stack' }}> |
| 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 |
); |