fix(theme): <Tabs> props should allow overriding defaults (#10091)

This commit is contained in:
Guille 2024-04-30 16:37:26 +02:00 committed by GitHub
parent c967ea5b4a
commit 2154dccbdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>
);
}