Skip to content

Commit

Permalink
Merge pull request #6365 from neps-in/master
Browse files Browse the repository at this point in the history
Fix for Issue: 6363, documentation fix
  • Loading branch information
fzaninotto committed Jun 16, 2021
2 parents c239949 + f03e2ea commit da44753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ The component will be:
import * as React from "react";
import { List, Datagrid, TextField, useRecordContext } from 'react-admin';

const FullNameField = () => {
const FullNameField = (props) => {
const record = useRecordContext(props);

return <span>{record.firstName} {record.lastName}</span>;
Expand Down

0 comments on commit da44753

Please sign in to comment.