Files
medusa-store/www/apps/api-reference/components/Description/index.tsx
2025-03-18 17:37:51 +02:00

25 lines
457 B
TypeScript

"use server"
import type { OpenAPI } from "types"
import Section from "../Section"
import MDXContentServer from "../MDXContent/Server"
export type DescriptionProps = {
specs: OpenAPI.OpenAPIV3.Document
}
const Description = ({ specs }: DescriptionProps) => {
return (
<Section>
<MDXContentServer
content={specs.info.description}
scope={{
specs,
}}
/>
</Section>
)
}
export default Description