mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:51:17 +08:00
active escape hatch on tablist buttons
This commit is contained in:
parent
6f909d22e0
commit
082332aec7
@ -164,6 +164,7 @@ export const Tabs: FunctionComponent<TabsProps> = memo(
|
||||
actions.onSelect(id);
|
||||
}}
|
||||
role="tab"
|
||||
className={`tabbutton ${active ? 'tabbutton-active' : ''}`}
|
||||
>
|
||||
{typeof title === 'function' ? title() : title}
|
||||
</TabButton>
|
||||
|
Loading…
x
Reference in New Issue
Block a user