mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
Clean architecture following Go principles: - factory.go: Pure Go implementation (default, no CGO) - factory_cgo.go: C++ optimized version when CGO=1 - orderbook.go: Standalone Go orderbook implementation - cpp_orderbook.go: C++ bindings for high performance Also includes: - Vault execution integration with orderbook - dex-api-server command for REST/WebSocket API - E2E test scripts for API validation - Documentation site scaffolding
10 lines
241 B
TypeScript
10 lines
241 B
TypeScript
import type { MDXComponents } from "mdx/types"
|
|
import defaultMdxComponents from "fumadocs-ui/mdx"
|
|
|
|
export function useMDXComponents(components: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
...components,
|
|
}
|
|
}
|