@@ -134,7 +134,7 @@ const BookShow = () => (
134134This is fine, but what if you need to display the author details for a list of books?
135135
136136``` jsx
137- import { ListBase , ReferenceFieldBase , ListIterator } from ' ra-core' ;
137+ import { ListBase , ReferenceFieldBase , RecordsIterator } from ' ra-core' ;
138138import { TextField } from ' ./TextField' ;
139139import { DateField } from ' ./DateField' ;
140140import { FunctionField } from ' ./FunctionField' ;
@@ -152,7 +152,7 @@ const BookList = () => (
152152 < / tr>
153153 < / thead>
154154 < tbody>
155- < ListIterator >
155+ < RecordsIterator >
156156 < tr>
157157 < td>< TextField source= " title" / >< / td>
158158 < td>< DateField source= " published_at" / >< / td>
@@ -167,7 +167,7 @@ const BookList = () => (
167167 < / ReferenceFieldBase>
168168 < / td>
169169 < / tr>
170- < / ListIterator >
170+ < / RecordsIterator >
171171 < / tbody>
172172 < / table>
173173 < / div>
@@ -197,7 +197,7 @@ This field fetches a one-to-many relationship, e.g. the books of an author, when
197197Here is an example usage:
198198
199199``` jsx
200- import { ShowBase , ReferenceManyFieldBase , ListIterator } from ' ra-core' ;
200+ import { ShowBase , ReferenceManyFieldBase , RecordsIterator } from ' ra-core' ;
201201import { TextField } from ' ./TextField' ;
202202import { DateField } from ' ./DateField' ;
203203
@@ -209,12 +209,12 @@ const AuthorShow = () => (
209209 < DateField source= " date_of_birth" / >
210210 < ReferenceManyFieldBase reference= " books" target= " author_id" >
211211 < ul>
212- < ListIterator >
212+ < RecordsIterator >
213213 < li>
214214 < TextField source= " title" / >
215215 < DateField source= " published_at" / >
216216 < / li>
217- < / ListIterator >
217+ < / RecordsIterator >
218218 < / ul>
219219 < / ReferenceManyFieldBase>
220220 < / div>
@@ -253,7 +253,7 @@ This field fetches a one-to-many relationship, e.g. the books of an author, when
253253Here is an example usage:
254254
255255``` jsx
256- import { ShowBase , ReferenceArrayFieldBase , ListIterator } from ' ra-core' ;
256+ import { ShowBase , ReferenceArrayFieldBase , RecordsIterator } from ' ra-core' ;
257257import { TextField } from ' ./TextField' ;
258258import { DateField } from ' ./DateField' ;
259259
@@ -265,12 +265,12 @@ const AuthorShow = () => (
265265 < DateField source= " date_of_birth" / >
266266 < ReferenceArrayFieldBase reference= " books" source= " book_ids" >
267267 < ul>
268- < ListIterator >
268+ < RecordsIterator >
269269 < li>
270270 < TextField source= " title" / >
271271 < DateField source= " published_at" / >
272272 < / li>
273- < / ListIterator >
273+ < / RecordsIterator >
274274 < / ul>
275275 < / ReferenceArrayFieldBase>
276276 < / div>
@@ -285,7 +285,7 @@ const AuthorShow = () => (
285285You can also use it in a List page:
286286
287287``` jsx
288- import { ListBase , ReferenceArrayFieldBase , ListIterator } from ' ra-core' ;
288+ import { ListBase , ReferenceArrayFieldBase , RecordsIterator } from ' ra-core' ;
289289import { TextField } from ' ./TextField' ;
290290import { DateField } from ' ./DateField' ;
291291
@@ -302,24 +302,24 @@ const AuthorList = () => (
302302 < / tr>
303303 < / thead>
304304 < tbody>
305- < ListIterator >
305+ < RecordsIterator >
306306 < tr>
307307 < td>< TextField source= " first_name" / >< / td>
308308 < td>< TextField source= " last_name" / >< / td>
309309 < td>< DateField source= " date_of_birth" / >< / td>
310310 < td>
311311 < ReferenceArrayFieldBase reference= " books" source= " book_ids" >
312312 < ul>
313- < ListIterator >
313+ < RecordsIterator >
314314 < li>
315315 < TextField source= " title" / >
316316 < / li>
317- < / ListIterator >
317+ < / RecordsIterator >
318318 < / ul>
319319 < / ReferenceArrayFieldBase>
320320 < / td>
321321 < / tr>
322- < / ListIterator >
322+ < / RecordsIterator >
323323 < / tbody>
324324 < / table>
325325 < / div>
0 commit comments