Skip to content

Commit

Permalink
fix(theme): <Tabs> props should allow overriding defaults (#10091)
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez authored Apr 30, 2024
1 parent c967ea5 commit 2154dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-classic/src/theme/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ function TabsComponent(props: Props): JSX.Element {
const tabs = useTabs(props);
return (
<div className={clsx('tabs-container', styles.tabList)}>
<TabList {...props} {...tabs} />
<TabContent {...props} {...tabs} />
<TabList {...tabs} {...props} />
<TabContent {...tabs} {...props} />
</div>
);
}
Expand Down

0 comments on commit 2154dcc

Please sign in to comment.