Skip to content

Commit

Permalink
Merge pull request #5384 from WiXSL/fix-fields-def
Browse files Browse the repository at this point in the history
[Doc] Fix EmailField and UrlField definitions
  • Loading branch information
djhi committed Oct 12, 2020
2 parents b48efc9 + 8768d7e commit ab01f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ See [Intl.DateTimeFormat documentation](https://developer.mozilla.org/fr/docs/We

## `<EmailField>`

`<EmailField>` displays an email as a `<a href="mailto:" />` link.
`<EmailField>` displays an email as a Material UI's `<Link href="mailto:" />` component.

```jsx
import { EmailField } from 'react-admin';
Expand Down Expand Up @@ -1087,7 +1087,7 @@ import { TextField } from 'react-admin';

## `<UrlField>`

`<UrlField>` displays an url in an `<a href="">` tag.
`<UrlField>` displays an url in a Material UI's `<Link href="" />` component.

```jsx
import { UrlField } from 'react-admin';
Expand Down

0 comments on commit ab01f74

Please sign in to comment.