chore: moves editorProps into admin property for code and json field types

This commit is contained in:
Jarrod Flesch
2023-01-04 08:41:59 -05:00
parent 59781b9eef
commit d97c9fd2ee
5 changed files with 24 additions and 10 deletions

View File

@@ -32,9 +32,9 @@ const Code: React.FC<Props> = (props) => {
language,
description,
condition,
editorOptions,
} = {},
label,
editorOptions,
} = props;
const path = pathFromProps || name;

View File

@@ -26,9 +26,9 @@ const JSONField: React.FC<Props> = (props) => {
width,
description,
condition,
editorOptions,
} = {},
label,
editorOptions,
} = props;
const path = pathFromProps || name;