mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-06 03:39:19 +00:00
Enhancement: Enables user to click on header of an expanded accordion item to collapse it (instead of an expanded item only being collapsed when a new item is expanded)
This commit is contained in:
parent
df87dd9cfc
commit
5a9ad3c079
@ -64,7 +64,7 @@ export default class ReactAccordion extends React.Component<IReactAccordionProps
|
||||
{listSelected &&
|
||||
<div>
|
||||
<h2>{this.props.accordionTitle}</h2>
|
||||
<Accordion>
|
||||
<Accordion allowZeroExpanded>
|
||||
{this.state.items.map((item:any) => {
|
||||
return (
|
||||
<AccordionItem>
|
||||
|
Loading…
x
Reference in New Issue
Block a user