-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Provide a general summary of the issue here
Collections in RAC have items prop. Arguably DisclosureGroup is not listed under collections but neither is ComboBox which has items prop. Any component in RAC that wraps a list of components should have items prop and provide the ability to use a render function
🤔 Expected Behavior?
items is a prop of DisclosureGroup:
<DisclosureGroup items={items.map((item, idx) => ({...item, id: idx}))}>
{(item) => (
<Disclosure>
{item}
</Disclosure>
)}
</DisclosureGroup>😯 Current Behavior
there is no items prop:
<DisclosureGroup>
{items.map((item, idx) => (
<Disclosure key={idx} id={idx}>
{item}
</Disclosure>
))}
</DisclosureGroup>💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
feature missing
Version
1.7.1 RAC
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels