From 9eacd7ae05898f1db59df3012d6db91c11c27835 Mon Sep 17 00:00:00 2001 From: Jonathan Fuchs Date: Fri, 11 Dec 2020 13:12:40 -0800 Subject: [PATCH] [tooltip] Corrects a documentation error --- packages/visx-tooltip/Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/visx-tooltip/Readme.md b/packages/visx-tooltip/Readme.md index db2b6f6d1..78edc3217 100644 --- a/packages/visx-tooltip/Readme.md +++ b/packages/visx-tooltip/Readme.md @@ -92,7 +92,7 @@ component (i.e., ...restProps): | left | number | -- | The horizontal position of the cursor, tooltip will be place to the left or right of this coordinate depending on the width of the tooltip and the size of the parent container. | | top | number | -- | The vertical position of the cursor, tooltip will be place to the bottom or top of this coordinate depending on the height of the tooltip and the size of the parent container. | | offsetLeft | number | 10 | Horizontal offset of the tooltip from the passed `left` value, functions as a horizontal padding. | -| offsetRight | number | 10 | Vertical offset of the tooltip from the passed `top` value, functions as a vertical padding. | +| offsetTop | number | 10 | Vertical offset of the tooltip from the passed `top` value, functions as a vertical padding. | | style | object | -- | Sets / overrides any styles on the tooltip container (including top and left) | | children | node | -- | Sets the children of the tooltip, i.e., the actual content | | unstyled | bool | true | Whether the tooltip should use styles from the style prop or not |