From 4b726bf47abea55ecb18537367527043f55efb17 Mon Sep 17 00:00:00 2001 From: Sam Magura Date: Sat, 11 Sep 2021 21:02:20 -0400 Subject: [PATCH] Fix string tabIndex in README `tabIndex` attribute has type `number | undefined` (not `string`), at least in TypeScript. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 288dac4..ebd1c58 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ import Tippy from '@tippyjs/react/headless'; // different import path! const HeadlessTippy = () => ( ( -
+
My tippy box
)} @@ -192,7 +192,7 @@ wrapper tag: ```jsx - + Reference @@ -385,7 +385,7 @@ function App() { ( -
+
{content}
)}