Skip to content

Commit 142258e

Browse files
authored
Right code for images management
1 parent c9846f1 commit 142258e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const myApiDocumentationParser = entrypoint => parseHydraDocumentation(entrypoin
145145
src: value
146146
});
147147
148-
field.fieldComponent = (
148+
field.field = (
149149
<FunctionField
150150
key={field.name}
151151
render={
@@ -157,7 +157,7 @@ const myApiDocumentationParser = entrypoint => parseHydraDocumentation(entrypoin
157157
/>
158158
);
159159

160-
field.inputComponent = (
160+
field.input = (
161161
<ImageInput accept="image/*" key={field.name} multiple={false} source={field.name}>
162162
<ImageField source="src"/>
163163
</ImageInput>

0 commit comments

Comments
 (0)