import { Feedback } from "@/components/docs/Feedback"; import { Heading } from "@/components/docs/Heading"; import { Prose } from "@/components/docs/Prose"; import { cn } from "@/lib/utils"; // import { SwaggerUI } from "@hono/swagger-ui"; import clsx from "clsx"; import dynamic from "next/dynamic"; // import _SwaggerUI from "swagger-ui-react"; import Link from "next/link"; export const SwaggerUI = dynamic(() => import("./SwaggerUIClient"), { ssr: false, }); export const a = Link; export { Button } from "@/components/docs/Button"; export { CodeGroup, Code as code, Pre as pre } from "@/components/docs/Code"; export function wrapper({ children }: { children: React.ReactNode }) { return (
{children}
); } export const h2 = function H2( props: Omit, "level"> ) { return ; }; function InfoIcon(props: React.ComponentPropsWithoutRef<"svg">) { return ( ); } export function Image({ className, ...props }: React.ComponentPropsWithoutRef<"img">) { return ( ); } export function Note({ children }: { children: React.ReactNode }) { return (
{children}
); } export function Row({ children }: { children: React.ReactNode }) { return (
{children}
); } export function Col({ children, sticky = false, }: { children: React.ReactNode; sticky?: boolean; }) { return (
:first-child]:mt-0 [&>:last-child]:mb-0", sticky && "xl:sticky xl:top-24" )} > {children}
); } export function Properties({ children }: { children: React.ReactNode }) { return (
    {children}
); } export function Property({ name, children, type, }: { name: string; children: React.ReactNode; type?: string; }) { return (
  • Name
    {name}
    {type && ( <>
    Type
    {type}
    )}
    Description
    {children}
  • ); }