Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Nov 16, 2023
1 parent 1068cc1 commit 2511424
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ propComponents: [
'DetailsPageHeader',
'PageHeading',
# 'PageHeadingLabel', # No output --> is a type and not an interface
'ActionButtons',
'ActionButton', # Incomplete output --> see https://github.com/patternfly/patternfly-org/issues/3423
# 'ActionCTA', # No output --> is a type and not an interface
'ActionMenu',
Expand Down Expand Up @@ -57,16 +56,6 @@ The `pageHeader` for a details page contains the `breadcrumbs`, `pageHeading`, a

```

### Details page action buttons

The action buttons in a details page header can be customized to be any [button](/components/button) variant.

Include a [`tooltip`](/components/tooltip/) as appropriate.

```js file="./ActionButtonsExample.tsx"

```

### Details page action menu

The details page action menu contains multiple actions that users can take.
Expand Down
2 changes: 1 addition & 1 deletion packages/module/src/HorizontalNav/HorizontalNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const HorizontalNav: React.FunctionComponent<HorizontalNavProps> = ({
{tabs.map((tab) => (
<Tab
{...tab}
title={[ 'string', 'number', 'boolean' ].includes(typeof tab.title) ? <TabTitleText>{tab.title}</TabTitleText> : tab.title} // string? element?
title={[ 'string', 'number', 'boolean' ].includes(typeof tab.title) ? <TabTitleText>{tab.title}</TabTitleText> : tab.title}
key={tab.eventKey}
>
{tab.children}
Expand Down

0 comments on commit 2511424

Please sign in to comment.