Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript
470 B
Raw Blame
"use client";

import { SchemaDisplay } from "@/components/ai-elements/schema-display";

const Example = () => (
  <SchemaDisplay
    method="POST"
    path="/api/posts"
    requestBody={[
      {
        name: "author",
        properties: [
          { name: "id", type: "string" },
          { name: "name", type: "string" },
        ],
        type: "object",
      },
      { name: "title", required: true, type: "string" },
    ]}
  />
);

export default Example;