Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
thatblindgeye committed Feb 15, 2022
1 parent 10e5285 commit 6aa1d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ exports[`should not render anything 1`] = `
className="pf-c-tabs__link"
id="pf-tab-0-"
onClick={[Function]}
parentInnerRef={null}
>
<button
aria-controls="pf-tab-section-0-"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-core/src/components/Tabs/examples/Tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Similarly the 'Tab content light variation' checkbox affects the TabContent back

### Default

The Tooltip component can also be passed in directly to the `tooltip` prop on the Tab component.
When passing in a Tooltip component to the Tab component, the Tooltip can also be passed in directly to the `tooltip` prop.

```js
import React from 'react';
Expand Down Expand Up @@ -99,7 +99,7 @@ class SimpleTabs extends React.Component {

### With tooltip react ref

When using a React ref to add a Tooltip to a Tab component, an `id` must be manually set on the Tooltip component, and the Tab component should have a matching `aria-describedby` attribute.
When using a React ref to link a Tooltip to a Tab component, an `id` must be manually set on the Tooltip component, and the Tab component must have a matching `aria-describedby` attribute so that screen readers are able to announce the Tooltip contents.

```js
import React from 'react';
Expand Down

0 comments on commit 6aa1d36

Please sign in to comment.