You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accordion docs are currently using AccordionItem's value prop with item+index to generate a string, use ids for these, since we already have an array, we can add id's for each array and pass that as a value instead
I'm preparing a PR to this issue and i see that Accordion.Trigger and Accordion.Content receive index as a prop. I want to know if is safe to remove it from the example?
I'm preparing a PR to this issue and i see that Accordion.Trigger and Accordion.Content receive index as a prop. I want to know if is safe to remove it from the example?
Yup we can remove that, thanks for bringing it up!
🚀 Feature Request
Feature Description
Accordion docs are currently using AccordionItem's value prop with item+index to generate a string, use
id
s for these, since we already have an array, we can add id's for each array and pass that as a value insteadLink : https://www.rad-ui.com/docs/components/accordion
The text was updated successfully, but these errors were encountered: