Files
zitadel/apps/docs/mdx-components.tsx
T
MaximilianandCopilot Autofix powered by AI 385c5ae54b docs: Update restrict console guide (#12262)
<!--
Please inform yourself about the contribution guidelines on submitting a
PR here:
https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr.
Take note of how PR/commit titles should be written and replace the
template texts in the sections below. Don't remove any of the sections.
It is important that the commit history clearly shows what is changed
and why.
Important: By submitting a contribution you agree to the terms from our
Licensing Policy as described here:
https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions.
-->

# Which Problems Are Solved

The projects setting texts and sceenshot where outdated. 

# How the Problems Are Solved

Update the text and screenshot.

# Additional Changes

* Rewording
* Lockout warning component

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-10 10:38:37 +00:00

30 lines
925 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';
import { GithubCodeBlock } from '@/components/github-code-block';
import { PreventLockout } from '@/components/prevent-lockout';
export function useMDXComponents(components?: MDXComponents): MDXComponents {
return {
...defaultMdxComponents,
Callout,
Admonition,
Tab,
Tabs,
Step,
Steps,
APIPage,
TerminologyUpdate,
GithubCodeBlock,
PreventLockout,
...components,
};
}
export const getMDXComponents = useMDXComponents;