Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/web/src/tabs/TabNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ type TabNavigationFC = <TabId extends string | undefined = string>(
props: TabNavigationProps<TabId> & { ref?: ForwardedRef<HTMLElement | null> },
) => 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(
<TabId extends string>(
Expand Down Expand Up @@ -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;
Loading