mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 00:09:48 +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);
|
||||
return (
|
||||
<div className={clsx('tabs-container', styles.tabList)}>
|
||||
<TabList {...props} {...tabs} />
|
||||
<TabContent {...props} {...tabs} />
|
||||
<TabList {...tabs} {...props} />
|
||||
<TabContent {...tabs} {...props} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue