Files
Athou_commafeed/commafeed-client/src/pages/app/ApiDocumentationPage.tsx

14 lines
394 B
TypeScript

import { Box } from "@mantine/core"
import { RedocStandalone } from "redoc"
function ApiDocumentationPage() {
return (
// force white background because documentation does not support dark theme
<Box style={{ backgroundColor: "#fff" }}>
<RedocStandalone specUrl="openapi/openapi.json" />
</Box>
)
}
export default ApiDocumentationPage