File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed
packages/react-core/src/components/Tabs Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -598,23 +598,21 @@ class Tabs extends Component<TabsProps, TabsState> {
598598 < GenerateId >
599599 { ( randomId ) => (
600600 < div className = { css ( styles . tabsToggle ) } >
601- < div className = { css ( styles . tabsToggleButton ) } >
602- < Button
603- onClick = { ( event ) => toggleTabs ( event , ! isExpandedLocal ) }
604- variant = "plain"
605- aria-label = { toggleAriaLabel }
606- aria-expanded = { isExpandedLocal }
607- id = { `${ randomId } -button` }
608- aria-labelledby = { `${ randomId } -text ${ randomId } -button` }
609- icon = {
610- < span className = { css ( styles . tabsToggleIcon ) } >
611- < AngleRightIcon />
612- </ span >
613- }
614- >
615- { toggleText && < span id = { `${ randomId } -text` } > { toggleText } </ span > }
616- </ Button >
617- </ div >
601+ < Button
602+ onClick = { ( event ) => toggleTabs ( event , ! isExpandedLocal ) }
603+ variant = "plain"
604+ aria-label = { toggleAriaLabel }
605+ aria-expanded = { isExpandedLocal }
606+ id = { `${ randomId } -button` }
607+ aria-labelledby = { `${ randomId } -text ${ randomId } -button` }
608+ icon = {
609+ < span className = { css ( styles . tabsToggleIcon ) } >
610+ < AngleRightIcon />
611+ </ span >
612+ }
613+ >
614+ { toggleText && < span id = { `${ randomId } -text` } > { toggleText } </ span > }
615+ </ Button >
618616 </ div >
619617 ) }
620618 </ GenerateId >
You can’t perform that action at this time.
0 commit comments