diff --git a/packages/web/src/tabs/TabNavigation.tsx b/packages/web/src/tabs/TabNavigation.tsx index 045e154d1..625232c22 100644 --- a/packages/web/src/tabs/TabNavigation.tsx +++ b/packages/web/src/tabs/TabNavigation.tsx @@ -157,12 +157,6 @@ type TabNavigationFC = ( props: TabNavigationProps & { ref?: ForwardedRef }, ) => React.ReactElement; -/** - * TabNavigation renders a horizontal, tab-based navigation bar. - * This component has a opinionated default style, but allows for customization through custom Component props. - * @deprecated Use Tabs instead. This will be removed in a future major release. - * @deprecationExpectedRemoval v8 - */ const TabNavigationComponent = memo( forwardRef( ( @@ -461,4 +455,10 @@ const TabNavigationComponent = memo( TabNavigationComponent.displayName = 'TabNavigation'; +/** + * TabNavigation renders a horizontal, tab-based navigation bar. + * This component has a opinionated default style, but allows for customization through custom Component props. + * @deprecated Use Tabs instead. This will be removed in a future major release. + * @deprecationExpectedRemoval v8 + */ export const TabNavigation = TabNavigationComponent as TabNavigationFC;