Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 439 Bytes

File metadata and controls

24 lines (16 loc) · 439 Bytes
layout default
title The UrlField Component

<UrlField>

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

import { UrlField } from 'react-admin';

<UrlField source="site_url" />

content

You can customize the content of the link by passing a string as the content prop.

import { UrlField } from 'react-admin';

<UrlField source="site_url" content="Visit site" />