// https://docusaurus.io/docs/swizzling#wrapping import TabItem from "@theme-original/TabItem" import Tabs from "@theme-original/Tabs" import { CreateNodes } from "@theme/JSONSchemaViewer/components" import { SchemaHierarchyComponent } from "@theme/JSONSchemaViewer/contexts" import { GenerateFriendlyName } from "@theme/JSONSchemaViewer/utils" import type { JSX } from "react" import type { JSONSchema } from "@theme/JSONSchemaViewer/types" type Props = { schema: Exclude [x: string]: any } export default function AnyOfSchema(props: Props): JSX.Element { const { schema } = props let typedSchema = schema.anyOf! let typeOf = "anyOf" return (
{typeOf} {typedSchema.map((compositeSchema, index) => { return ( } > ) })}
) }