Skip to content

Commit 52ab9a3

Browse files
update phrasing
1 parent 3c87aee commit 52ab9a3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/eui/src/components/tool_tip/tool_tip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export interface EuiToolTipProps extends CommonProps {
124124
onMouseOut?: (event: ReactMouseEvent<HTMLSpanElement, MouseEvent>) => void;
125125

126126
/**
127-
* You can adjust the distance between the tooltip and its anchor using the `offset` prop. By default, this value is `16`.
127+
* Offset in pixels from the anchor. Defaults to 16.
128128
*/
129129
offset?: number;
130130
}

packages/website/docs/components/display/tooltip.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Generally, tooltips should provide short, **non-essential**, contextual informat
1414
:::
1515

1616
Wrap **EuiToolTip** around any item that you need a tooltip for and provide the `content` and optionally the `title`. The `position` prop will take a suggested position, but will change it if the tooltip gets too close to the edge of the screen.
17+
You can adjust the distance between the tooltip and its anchor using the `offset` prop. By default, this value is `16`.
1718

1819
```tsx interactive
1920
import React from 'react';

0 commit comments

Comments
 (0)