mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
Simplify imports: import { DocsLayout, RootProvider } from '@hanzo/ui'
instead of @hanzo/ui/docs/layouts/docs subpaths
10 lines
239 B
TypeScript
10 lines
239 B
TypeScript
import type { MDXComponents } from "mdx/types"
|
|
import { defaultMdxComponents } from "@hanzo/ui"
|
|
|
|
export function useMDXComponents(components: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
...components,
|
|
}
|
|
}
|