Files
zen-guard/docs/mdx-components.tsx
zeekay 95bf6a6295 Update Zen Guard with proper branding and structure
- Zen AI branded README with proper documentation
- GitHub Actions workflow for testing
- Complete docs structure with paper
- Training scripts and examples
- Makefile for build automation
2025-12-21 12:43:52 -08:00

17 lines
458 B
TypeScript

import type { MDXComponents } from 'mdx/types'
import defaultComponents from 'fumadocs-ui/mdx'
import { Card, Cards } from 'fumadocs-ui/components/card'
import { Tabs, TabsList, TabsTrigger, TabsContent } from 'fumadocs-ui/components/tabs'
export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
...defaultComponents,
Card,
Cards,
Tabs,
TabsList,
TabsTrigger,
TabsContent,
...components,
}
}