Skip to content

Commit 02f268a

Browse files
committed
update doc example
1 parent 4c4b038 commit 02f268a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

1212
<PageDescription>{docs.exports.Tooltip.description}</PageDescription>
1313

14-
```tsx render docs={docs.exports.TooltipTrigger} links={docs.links} props={['placement', 'crossOffset', 'shouldFlip']} type="s2"
14+
```tsx render docs={docs.exports.TooltipTrigger} links={docs.links} props={['placement', 'crossOffset', 'shouldFlip', 'shouldCloseOnPress']} type="s2"
1515
"use client";
1616
import {Tooltip, TooltipTrigger, ActionButton} from '@react-spectrum/s2';
1717
import Edit from '@react-spectrum/s2/icons/Edit';

0 commit comments

Comments
 (0)