Skip to content

Commit

Permalink
Merge pull request #9053 from marmelab/doc-fix-a-typo-in-reference-on…
Browse files Browse the repository at this point in the history
…e-field

[Doc] fix a typo in ReferenceOneField documentation
  • Loading branch information
fzaninotto authored Jun 27, 2023
2 parents 23ecac7 + f0a2f67 commit d074f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ReferenceOneField.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ By default, `<ReferenceOneField>` links to the edition page of the related recor
</ReferenceOneField>
```

You can also set the `link` prop to a string, which will be used as the link type. It can be either `edit`, `show`, a route path, or a fiunction returning a route path based on the given record.
You can also set the `link` prop to a string, which will be used as the link type. It can be either `edit`, `show`, a route path, or a function returning a route path based on the given record.

```jsx
<ReferenceOneField
Expand Down

0 comments on commit d074f20

Please sign in to comment.