diff --git a/src/MaterialTabBar/TabBar.tsx b/src/MaterialTabBar/TabBar.tsx index 2adf7200..b5fedb4e 100644 --- a/src/MaterialTabBar/TabBar.tsx +++ b/src/MaterialTabBar/TabBar.tsx @@ -199,6 +199,14 @@ const MaterialTabBar = ({ onScroll={scrollEnabled ? onScroll : undefined} scrollEventThrottle={16} > + {itemsLayout.length === nTabs && ( + + )} {tabNames.map((name, i) => { return ( ({ /> ) })} - {itemsLayout.length === nTabs && ( - - )} ) }