mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix(theme): <Tabs>
props should allow overriding defaults (#10091)
This commit is contained in:
parent
c967ea5b4a
commit
2154dccbdf
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ function TabsComponent(props: Props): JSX.Element {
|
||||||
const tabs = useTabs(props);
|
const tabs = useTabs(props);
|
||||||
return (
|
return (
|
||||||
<div className={clsx('tabs-container', styles.tabList)}>
|
<div className={clsx('tabs-container', styles.tabList)}>
|
||||||
<TabList {...props} {...tabs} />
|
<TabList {...tabs} {...props} />
|
||||||
<TabContent {...props} {...tabs} />
|
<TabContent {...tabs} {...props} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue