Skip to content

Commit 1ddba53

Browse files
committed
use Brand, update kebab position
1 parent 0045324 commit 1ddba53

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/react-core/src/demos/Masthead.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ import {
3030
DropdownSeparator,
3131
DropdownToggle,
3232
KebabToggle,
33-
DropdownItem
33+
DropdownItem,
34+
Brand
3435
} from '@patternfly/react-core';
3536
import imgBrand from '@patternfly/react-core/src/demos/examples/pfColorLogo.svg';
3637
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
@@ -145,7 +146,7 @@ class BasicMasthead extends React.Component {
145146
</MastheadToggle>
146147
<MastheadMain>
147148
<MastheadBrand>
148-
<img src={imgBrand} alt="Patternfly logo" />
149+
<Brand src={imgBrand} alt="Patternfly logo" />
149150
</MastheadBrand>
150151
</MastheadMain>
151152
<MastheadContent>
@@ -185,6 +186,7 @@ class BasicMasthead extends React.Component {
185186
<ToolbarItem>
186187
<Dropdown
187188
onSelect={this.onKebabSelect}
189+
position="right"
188190
toggle={<KebabToggle onToggle={this.onKebabToggle} id="toggle-id-kebab" />}
189191
isOpen={isKebabOpen}
190192
isPlain

0 commit comments

Comments
 (0)