File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/ra-ui-materialui/src/field Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ import { Link } from '../Link';
20
20
* Relies on dataProvider.getManyReference() returning a total property
21
21
*
22
22
* @example // Display the number of comments for the current post
23
- * <ReferenceManyCount reference="comments" target="post_id">
23
+ * <ReferenceManyCount reference="comments" target="post_id" / >
24
24
*
25
25
* @example // Display the number of published comments for the current post
26
- * <ReferenceManyCount reference="comments" target="post_id" filter={{ is_published: true }}>
26
+ * <ReferenceManyCount reference="comments" target="post_id" filter={{ is_published: true }} / >
27
27
*
28
28
* @example // Display the number of comments for the current post, with a custom Typography variant
29
- * <ReferenceManyCount reference="comments" target="post_id" variant="h1">
29
+ * <ReferenceManyCount reference="comments" target="post_id" variant="h1" / >
30
30
*/
31
31
export const ReferenceManyCount = < RecordType extends RaRecord = RaRecord > (
32
32
props : ReferenceManyCountProps < RecordType >
You can’t perform that action at this time.
0 commit comments