import * as React from 'react' ; import { Create , SimpleForm , TextField , TextInput , required , TranslatableInputs , } from 'react-admin' ; const TagCreate = props => ( < Create { ... props } > < SimpleForm redirect = "list" > < TextField source = "id" / > < TranslatableInputs locales = { [ 'en' , 'fr' ] } > < TextInput source = "name" validate = { [ required ( ) ] } / > < /TranslatableInputs> < /SimpleForm> < /Create>); export default TagCreate ;