Created
August 17, 2017 12:26
-
-
Save kenjinp/25f830d0ea63c89da4db27ca126f4057 to your computer and use it in GitHub Desktop.
Revisions
-
kenjinp created this gist
Aug 17, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ export const UserEdit = (props) => ( <Edit title="Edit User" {...props}> <SimpleForm> <DisabledInput source="_id" /> <TextInput source="username" /> <TextInput source="staffNumber" /> </SimpleForm> </Edit> ); // is the same as export const UserEdit = (props) => { console.log(props) return ( <Edit title="Edit User" {...props}> <SimpleForm> <DisabledInput source="_id" /> <TextInput source="username" /> <TextInput source="staffNumber" /> </SimpleForm> </Edit> ); }