mirror of
https://github.com/zap-proto/dev.git
synced 2026-10-30 15:05:18 +00:00
Single-purpose Next.js + @hanzo/docs site for developer-facing content: quick start, schema language, language bindings, sub-protocol references, install commands. Distinct from: - zap-proto.io (protocol home) - zerocopy.app (marketing pitch) CNAME: zap-proto.dev
17 lines
444 B
TypeScript
17 lines
444 B
TypeScript
import type { MDXComponents } from 'mdx/types';
|
|
import defaultMdxComponents from '@hanzo/docs-radix-ui/mdx';
|
|
import { Tab, Tabs } from '@hanzo/docs-radix-ui/components/tabs';
|
|
import { SchemaTabs } from './components/schema-tabs';
|
|
|
|
export function useMDXComponents(components: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
Tab,
|
|
Tabs,
|
|
SchemaTabs,
|
|
...components,
|
|
};
|
|
}
|
|
|
|
export { Tab, Tabs, SchemaTabs };
|