[Accordion] AccordionItem - defaultIsOpen does not exist
See original GitHub issueProperty 'defaultIsOpen' does not exist on type 'IntrinsicAttributes & Pick<AccordionItemProps
- the defaultIsOpen property seems to be missing in version 1.0.0-rc.0
- Please check this issue 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
start an accordion menu on a specific item in react
The accordion docs are very helpful, but I'm not sure how to make the accordion automatically open on a particular choice.
Read more >Upgrading to v1 - Chakra UI
Don't worry if your styles aren't exactly the same, this is to be ... You can no longer use AccordionItem in isolation, it...
Read more >Build Reusable Components with Vue.js. (Part 2 - Tealfeed
An accordion that accepts default item to be open. Prerequisites. A basic understanding of Vue is required. If not, kindly find available resources...
Read more >Accordion Item #2 - React-Bootstrap
Fully Collapsed State#. If you want your Accordion to start in a fully-collapsed state, then simply don't pass in a defaultActiveKey prop to...
Read more >Use Bootstrap Accordion with React - Pluralsight
React does not have its own set of elements to integrate into the React ... Using react-bootstrap , there is an element called...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @ganeshkrishnasharma,
The AccordionItem can no longer be used in isolation. You might need to still wrap it within
Accordion
and add thedefaultIndex
to that instead.Feel free to also consider the other alternatives suggested by @dodas and @with-heart.
Cheers
Thanks much, will check on these suggestions 😃 @segunadebayo @with-heart @dodas