Skip to content

Commit a19d238

Browse files
Expose props to Section collection item (#3634)
Co-authored-by: Reid Barber <[email protected]>
1 parent 40297b7 commit a19d238

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@react-stately/collections/src/Section.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Section.getCollectionNode = function* getCollectionNode<T>(props: SectionProps<T
2222
let {children, title, items} = props;
2323
yield {
2424
type: 'section',
25+
props: props,
2526
hasChildNodes: true,
2627
rendered: title,
2728
'aria-label': props['aria-label'],

0 commit comments

Comments
 (0)