feat(json-schema-2020-12): add support for deep expandable behavior

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-14 13:26:57 +02:00
committed by Vladimír Gorej
parent ddedb57dc0
commit 7cfc5e3656
10 changed files with 122 additions and 25 deletions

View File

@@ -7,6 +7,7 @@ import JSONSchema from "./components/JSONSchema/JSONSchema"
import BooleanJSONSchema from "./components/BooleanJSONSchema/BooleanJSONSchema"
import KeywordProperties from "./components/keywords/Properties"
import Accordion from "./components/Accordion/Accordion"
import ExpandDeepButton from "./components/ExpandDeepButton/ExpandDeepButton"
import ChevronRightIcon from "./components/icons/ChevronRight"
import { JSONSchemaContext } from "./context"
import { getTitle, isBooleanJSONSchema, upperFirst } from "./fn"
@@ -18,6 +19,7 @@ export const withJSONSchemaContext = (Component, overrides = {}) => {
BooleanJSONSchema,
KeywordProperties,
Accordion,
ExpandDeepButton,
ChevronRightIcon,
...overrides.components,
},