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