import React from "react"; import Layout from "@theme/Layout"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import useBaseUrl from "@docusaurus/useBaseUrl"; import BrowserOnly from "@docusaurus/core/lib/client/exports/BrowserOnly"; function APIBrowser() { const context = useDocusaurusContext(); const { siteConfig = {} } = context; return ( {() => { import("rapidoc"); return ( ); }} ); } export default APIBrowser;