diff --git a/playground/components/Tab.tsx b/playground/components/Tab.tsx index 0a46bd414..2a5eb5ff9 100644 --- a/playground/components/Tab.tsx +++ b/playground/components/Tab.tsx @@ -19,7 +19,7 @@ class Tab extends Component { { event.preventDefault(); - if (parentCallback && tabIndex) { + if (parentCallback && tabIndex !== undefined) { parentCallback(tabIndex); } }}