Skip to content

Commit

Permalink
docs(tooltip): add additional note for missing tooltip props (#7472)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] committed Dec 17, 2020
1 parent 6db9cdb commit 00ad3fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react/src/components/Tooltip/Tooltip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import { Props } from '@storybook/addon-docs/blocks';

## Component API

Please note that in addition to the props below, `Tooltip` also has two
additional props: `triggerText` and `iconDescription`. If the `triggerText` prop
is _not_ provided, the `iconDescription` prop is required to populate the
`aria-label` property for a11y reasons.

<Props />

## Feedback
Expand Down

0 comments on commit 00ad3fe

Please sign in to comment.