Files
zitadel/apps/docs/mdx-components.tsx
T
Fabienne BühlerandGitHub 9a4530bf77 docs: Add note for updated terminology (#11802)
# Which Problems Are Solved

For existing customers it could be hard to understand the new aligned
terms we have defined, if they are already used to the "old term"

# How the Problems Are Solved

Adding notes at the top of docs pages to state clearliy new and old
terms.
2026-03-16 09:10:48 +00:00

26 lines
755 B
TypeScript

import defaultMdxComponents from 'fumadocs-ui/mdx';
import type { MDXComponents } from 'mdx/types';
import { APIPage } from '@/components/api-page';
import { TerminologyUpdate } from '@/components/terminology-update';
import { Callout } from 'fumadocs-ui/components/callout';
import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
import { Step, Steps } from 'fumadocs-ui/components/steps';
import Admonition from '@/components/docusaurus/admonition';
export function useMDXComponents(components?: MDXComponents): MDXComponents {
return {
...defaultMdxComponents,
Callout,
Admonition,
Tab,
Tabs,
Step,
Steps,
APIPage,
TerminologyUpdate,
...components,
};
}
export const getMDXComponents = useMDXComponents;