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
I'm building a new ui-lib on top of reka-ui.
I'm wondering maybe we can just add a prop like defaultExpandAll to expand all items without hard coded default-value prop.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a new ui-lib on top of reka-ui.
I'm wondering maybe we can just add a prop like
defaultExpandAllto expand all items without hard codeddefault-valueprop.Doc
https://reka-ui.com/docs/components/accordion#expanded-by-default
Source Code
reka-ui/packages/core/src/Accordion/AccordionItem.vue
Line 13 in 1e0670d
Maybe we don't omit
defaultOpen?Beta Was this translation helpful? Give feedback.
All reactions