FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Page layout demo imports 3439 by ddonahue007 · Pull Request #3461 · patternfly/patternfly-react · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import imgAvatar from './imgAvatar.svg';
- All but the last example set the `isManagedSidebar` prop on the Page component to have the sidebar automatically close for smaller screen widths. You can also manually control this behavior by not adding the `isManagedSidebar` prop and instead:

1. Add an onNavToggle callback to PageHeader
1. Pass in a boolean into the isNavOpen prop to PageSidebar
1. Pass a boolean into the isNavOpen prop to PageSidebar

The last example demonstrates this.

Expand All @@ -58,16 +58,22 @@ import React from 'react';
import {
Avatar,
Brand,
Breadcrumb,
BreadcrumbItem,
Button,
ButtonVariant,
Dropdown,
Card,
CardBody,
DropdownToggle,
DropdownItem,
DropdownSeparator,
Gallery,
GalleryItem,
KebabToggle,
Nav,
NavGroup,
NavItem,
NavList,
Page,
PageHeader,
PageSection,
Expand Down Expand Up @@ -274,16 +280,23 @@ import React from 'react';
import {
Avatar,
Brand,
Breadcrumb,
BreadcrumbItem,
Button,
ButtonVariant,
Card,
CardBody,
Dropdown,
DropdownToggle,
DropdownItem,
DropdownSeparator,
Gallery,
GalleryItem,
KebabToggle,
Nav,
NavGroup,
NavExpandable,
NavItem,
NavList,
Page,
PageHeader,
PageSection,
Expand Down

Back | FazBrowse Home | New Git URL