<TextField>
The most basic field, it displays a property of a record as a simple string. It uses the Cloudscape Link component if the link prop is provided.
Usage
<TextField source="name" />
Linking
You can easily link a text field to a record's edit or show page.
// Link to the edit page of the current record
<TextField source="name" link="edit" />
// Custom link
<TextField source="name" link={(record) => `/custom/path/${record.id}`} />
Props
| Prop | Type | Default | Description |
|---|