Files
medusa-store/www/apps/api-reference/components/DownloadFull/index.tsx
Shahed Nasser 88f2d17a24 docs: change configurations to make v2 the main docs (#9729)
* docs: change configurations to make v2 the main docs

* move api routes to top level

* remove api prefix

* update opengraph images

* show v1 link

* add redirect to v1
2024-10-24 14:49:58 +03:00

20 lines
397 B
TypeScript

"use client"
import { Button } from "docs-ui"
import { useArea } from "../../providers/area"
import Link from "next/link"
const DownloadFull = () => {
const { area } = useArea()
return (
<Button variant="secondary">
<Link href={`/download/${area}`} download target="_blank">
Download OpenApi Specs Collection
</Link>
</Button>
)
}
export default DownloadFull