Skip to content

allowMultipleExpanded={flase} not working #369

Description

@ashish-mesvaniya

whenever i write this inside my accordion tag the page goes all white
here is the code:
import React from "react";
import {
Accordion,
AccordionItem,
AccordionItemHeading,
AccordionItemButton,
AccordionItemPanel,
AccordionItemState,
} from "react-accessible-accordion";
import "react-accessible-accordion/dist/fancy-example.css";
import { MdOutlineArrowDropDown } from "react-icons/md";
import "./Value.css";
import data from "../../utils/accordion";
const Value = () => {
return (



{/* left /}





{/
right */}

Our Value
Vlaue we give to you

We are always ready help by providing the best services to you


We beleive a good place to live can make your life better

      <Accordion
      className="accordion"
      allowMultipleExpanded={flase}
      preExpanded={[0]}

      >
          
      </Accordion>

    </div>
  </div>
</section>

);
};

export default Value;

accordion erro

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions