Skip to content

Commit e65c84f

Browse files
committed
Add a comment regarding standalone usage of SimpleList.
1 parent 3789c45 commit e65c84f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export const SimpleList = <RecordType extends RaRecord = any>(
111111
/>
112112
}
113113
empty={empty ?? null}
114+
// We need to keep passing data explicitly as it may have been passed down through props.
114115
render={({ data }) => (
115116
<Root className={className} {...sanitizeListRestProps(rest)}>
116117
<RecordsIterator

0 commit comments

Comments
 (0)