refactor(docs): use @hanzo/mdx/components for all MDX components

Single import path for Card, Tabs, Steps, Callout, Accordion, TypeTable
This commit is contained in:
Fuma Nama
2025-12-17 15:55:25 -08:00
parent ee1a335649
commit d4d9e66e04
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -1,17 +1,17 @@
import type { MDXComponents } from "mdx/types"
import { defaultMdxComponents } from "@hanzo/ui"
import {
Tab,
Tabs,
defaultMdxComponents,
Card,
Cards,
Tab,
Tabs,
Step,
Steps,
Callout,
Accordion,
Accordions,
} from "@hanzo/ui/content"
import { TypeTable } from "@hanzo/ui/docs/components"
TypeTable,
} from "@hanzo/mdx/components"
export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
+2 -2
View File
@@ -11,8 +11,8 @@
"postinstall": "hanzo-mdx"
},
"dependencies": {
"@hanzo/mdx": "^14.1.0",
"@hanzo/ui": "^5.3.26",
"@hanzo/mdx": "^14.2.0",
"@hanzo/ui": "^5.3.28",
"lucide-react": "^0.468.0",
"next": "16.0.1",
"next-themes": "^0.4.6",