refactor(json-schema-2020-12): drop optimizeExpansion config option (#8612)

This option was removed and codebase has been
modified in a way as this option is always true.

Refs #8513
This commit is contained in:
Vladimír Gorej
2023-05-02 17:03:01 +02:00
committed by GitHub
parent 71554a7330
commit 7bfee4e492
8 changed files with 13 additions and 49 deletions

View File

@@ -97,14 +97,6 @@ export const withJSONSchemaContext = (Component, overrides = {}) => {
* 3 -> [0]...(3)
*/
defaultExpandedLevels: 0, // 2 = 0...2
/**
* Can be turned on for complex and extensive schemas.
* Child schemas are not rendered until parent schema is expanded.
*
* By default, entire schema tree is rendered and collapsed parts of the
* tree are hidden with css.
*/
optimizeExpansion: true,
...overrides.config,
},
fn: {