mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(theme): `<Tabs>` props should allow overriding defaults (#10091)
This commit is contained in:
parent
c967ea5b4a
commit
2154dccbdf
|
|
@ -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…
Reference in New Issue