Skip to content

Commit d92e02f

Browse files
committed
[no ci] Fix ReferenceManyCount JSDoc
1 parent 4947205 commit d92e02f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ra-ui-materialui/src/field/ReferenceManyCount.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
*/
3131
export const ReferenceManyCount = <RecordType extends RaRecord = RaRecord>(
3232
props: ReferenceManyCountProps<RecordType>

0 commit comments

Comments
 (0)