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

Refs #8513
This commit is contained in:
Vladimir Gorej
2023-04-14 12:21:30 +02:00
committed by Vladimír Gorej
parent 9ed1c1b3a0
commit ddedb57dc0
10 changed files with 96 additions and 83 deletions

View File

@@ -6,4 +6,5 @@ import { createContext } from "react"
export const JSONSchemaContext = createContext(null)
JSONSchemaContext.displayName = "JSONSchemaContext"
export default JSONSchemaContext
export const JSONSchemaLevelContext = createContext(0)
JSONSchemaLevelContext.displayName = "JSONSchemaLevelContext"