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';
2020 * Relies on dataProvider.getManyReference() returning a total property
2121 *
2222 * @example // Display the number of comments for the current post
23- * <ReferenceManyCount reference="comments" target="post_id">
23+ * <ReferenceManyCount reference="comments" target="post_id" / >
2424 *
2525 * @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 }} / >
2727 *
2828 * @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" / >
3030 */
3131export const ReferenceManyCount = < RecordType extends RaRecord = RaRecord > (
3232 props : ReferenceManyCountProps < RecordType >
You can’t perform that action at this time.
0 commit comments