schema-components - v3.7.0
    Preparing search index...

    Function SchemaView

    • Read-only Solid renderer that is safe to use outside a Solid context subtree — the theme adapter is passed via the resolver prop.

      Always renders read-only; pair with SchemaComponent for editable forms. Mirrors the contract of the React <SchemaView>.

      Type Parameters

      • T = unknown
      • SchemaRef extends string | undefined = undefined
      • Mode extends SchemaIoSide = "output"

      Parameters

      Returns Element

      import { SchemaView } from "schema-components/solid/SchemaView";

      export default function UserCard(props: { user: User }) {
      return <SchemaView schema={userSchema} value={props.user} />;
      }