Skip to content

Commit 731eb06

Browse files
committed
docs: update README.md to reflect change from JSX to TSX for HighlightToolTip example
1 parent 0e42f33 commit 731eb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ You can customize the tooltip's appearance by wrapping your content in a styled
130130

131131
If you notice that the highlight position is slightly off on Android devices—often due to varying status-bar or navigation-bar heights—you can supply `androidOffsetY` to nudge the measured Y-coordinate.
132132

133-
```jsx
133+
```tsx
134134
<HighlightToolTip
135135
targetRef={targetRef}
136136
androidOffsetY={-24} // moves the highlight 24px upward on Android

0 commit comments

Comments
 (0)