Skip to content

Commit

Permalink
fix(Tabs): add id attribute to nav (#6767)
Browse files Browse the repository at this point in the history
  • Loading branch information
duyguca committed Mar 10, 2024
1 parent 346cb32 commit 3b4fd9b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Tabs.tsx
Expand Up @@ -152,7 +152,13 @@ const Tabs = (props: TabsProps) => {
mountOnEnter={mountOnEnter}
unmountOnExit={unmountOnExit}
>
<Nav {...controlledProps} role="tablist" as="ul" variant={variant}>
<Nav
id={id}
{...controlledProps}
role="tablist"
as="ul"
variant={variant}
>
{map(children, renderTab)}
</Nav>

Expand Down

0 comments on commit 3b4fd9b

Please sign in to comment.