13c68683 days ago23 lines · 675 B| 1 | import { Callout } from "fumadocs-ui/components/callout"; |
| 2 | import { Card, Cards |
| 3 | import { Tab, Tabs |
| 4 | import defaultMdxComponents from "fumadocs-ui/mdx |
| 5 | import type { MDXComponents |
| 6 | |
| 7 | import { OauthUrlGenerator } |
| 8 | |
| 9 | /** Components MDX pages may use without importing them. */ |
| 10 | export function getMDXComponents(components |
| 11 | return { |
| 12 | ...defaultMdxComponents, |
| 13 | Callout, |
| 14 | Card, |
| 15 | Cards, |
| 16 | OauthUrlGenerator, |
| 17 | Tab, |
| 18 | Tabs, |
| 19 | ...components, |
| 20 | } satisfies MDXComponents; |
| 21 | } |
| 22 | |
| 23 | export const useMDXComponents = |