Skip to content

Commit 0caa399

Browse files
authored
docs: add shouldCloseOnPress to RAC Tooltip docs (#9341)
* docs: add shouldCloseOnPress to RAC Tooltip docs * move prop to the actual correct example * fix link i think? * fix link pretty please * Revert "fix link pretty please" This reverts commit de239ca. * Revert "fix link i think?" This reverts commit a603ba9.
1 parent 6c29f7a commit 0caa399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/s2-docs/pages/react-aria/Tooltip.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const description = 'Displays a description of an element on hover or foc
6767

6868
Tooltips appear after a "warmup" delay when hovering, or instantly on focus. Once a tooltip is displayed, other tooltips display immediately. If the user waits for the "cooldown period" before hovering another element, the warmup timer restarts.
6969

70-
```tsx render docs={docs.exports.TooltipTrigger} links={docs.links} props={['trigger', 'delay', 'closeDelay', 'isDisabled']} type="vanilla"
70+
```tsx render docs={docs.exports.TooltipTrigger} links={docs.links} props={['trigger', 'delay', 'closeDelay', 'isDisabled', 'shouldCloseOnPress']} type="vanilla"
7171
"use client";
7272
import {TooltipTrigger} from 'react-aria-components';
7373
import {Tooltip} from 'vanilla-starter/Tooltip';

0 commit comments

Comments
 (0)